alfin06/swegent-issues-filtered huggingface dataset:
Enable file upload as part of task in AGS ....

Many use cases often involve integrating files as part of a the task

- write an analysis on the insights in this image 


## How

- modify UI to support file upload. The idea is to yield a sequence of string and files 
e.g., if a command and an image are uploaded -> ["what is in this image", image, ""]
- Update task endpoint to process files and add them to the task 

We need to convert the the sequence from frontend a sequence from 

```python
# Note: task is of type `task: str | ChatMessage | Sequence[ChatMessage] | None = None,`

ChatMessage = Annotated[
    TextMessage | MultiModalMessage | StopMessage | ToolCallSummaryMessage | HandoffMessage, Field(discriminator="type")
]
```

- Support a specific set of filetypes and determine how they are processed before passed to model

   - images, convert them with pil and add directly
   - txt/pdf/ etc... save to a location , convert to markdown and add as string sequence




Labels: proj-studio
State: closed
Update AssistantAgent and ModelContext API doc to show example of custom model context for R1.

### Confirmation

- [x] I confirm that I am a maintainer and so can use this template. If I am not, I understand this issue will be closed and I will be asked to use a different template.

### Issue body

Show example of custom model context for R1 that filters out thought content when getting messages. 

For reasoning models like R1, having thought tokens in the context can cause models to underperform.

```python
from typing import List
from autogen_core.model_context import UnboundedChatCompletionContext
from autogen_core.models import AssistantMessage, LLMMessage


class ReasoningModelContext(UnboundedChatCompletionContext):
    """A model context for reasoning models."""

    async def get_messages(self) -> List[LLMMessage]:
        messages = await super().get_messages()
        # Filter out thought field from AssistantMessage.
        messages_out = []
        for message in messages:
            if isinstance(message, AssistantMessage):
                message.thought = None
            messages_out.append(message)
        return messages_out
```

Labels: documentation, proj-core
State: closed
[Request] 深度思考内容不需平滑输出

### 🥰 需求描述

已知 lobechat 有 smooth 平滑输出功能，但对于思维链来说存在结论输出迟缓的问题，
往往要等待大量的思考内容被平滑输出之后，才能等到结论正文。

### 🧐 解决方案

建议可以在缓存到 `</think>` 后面内容时，折叠深度思考框，直接开始流输出正文内容，而不再等待深度思考内容输出完毕。

或者让深度思考内容瞬间全部输出，而不是等待其平滑输出。

### 📝 补充信息

_No response_

Labels: released
State: closed
Doc update to code executor agent to mention PythonCodeExecutionTool

> The assistant agent always outputs TERMINATE after generating code

You can customize the system message of AssistantAgent. 

> Is there a way to ensure that the snippet to be part of a markdown block.

Have you tried PythonCodeExecutionTool? It will run the code in the same agent rather than requiring the code to be inside markdown format. 

https://microsoft.github.io/autogen/stable/reference/python/autogen_ext.tools.code_execution.html#autogen_ext.tools.code_execution.PythonCodeExecutionTool

The two-agent chat with assistant and code executor is a legacy pattern from v0.2. It's not a top recommended way to do code execution now.

_Originally posted by @ekzhu in https://github.com/microsoft/autogen/discussions/5767#discussioncomment-12367469_

Labels: documentation
State: closed
[Bug] 第三方api设置后，聊天界面填入key报错key不正确

### 📦 Environment

Vercel

### 📌 Version

最新版

### 💻 Operating System

Windows

### 🌐 Browser

Edge

### 🐛 Bug Description

感谢作者提供的优秀工具。在近期更新的几个版本的lobe中，设置了第三方openai api URL后必须在设置界面填入第三方的key才能使用，在聊天页面直接填入key会导致报错‘key不正确或为空’，该bug影响较为严重，希望可以尽快修复。

### 📷 Recurrence Steps

_No response_

### 🚦 Expected Behavior

_No response_

### 📝 Additional Information

_No response_

Labels: released
State: closed
Base implementation for Reset for .NET AgentChat

### Confirmation

- [x] I confirm that I am a maintainer and so can use this template. If I am not, I understand this issue will be closed and I will be asked to use a different template.

### Issue body

Enable de-initialization of the GroupChat/Manager classes (and manage internal AutoGen runtime initialization appropriately) to enable Reset() operations.

State: closed
[Bug] AI Provider 管理模块设置无法被重置

### 📦 部署环境

Docker

### 📌 软件版本

v1.51.5

### 💻 系统环境

Windows

### 🌐 浏览器

Chrome

### 🐛 问题描述

当前 AI Provider 管理模块没有方法能够全部重置回默认设置，单个渠道也没有办法被重置为默认设置和默认模型，填入设置和修改了模型参数均不可逆，且如果修改了默认模型参数也无法复原。

### 📷 复现步骤

_No response_

### 🚦 期望结果

_No response_

### 📝 补充信息

_No response_

Labels: released
State: closed
[Bug] MODEL_LIST不知道为啥无效了，部署完成后默认不显示任何模型，设置里模型列表也是官方的而不是我自己自定义的

### 📦 部署环境

Docker

### 📌 软件版本

v1.51.8

### 💻 系统环境

Other

### 🌐 浏览器

Edge

### 🐛 问题描述

系统版本：CENT OS 8.2

MODEL_LIST参数不知道为啥无效果了，按照图片的参数部署后，默认只有openai的默认模型，模型设置里也没有我自己自定义的模型列表，只有默认获取的模型列表，回滚到1.50.5版本后模型列表正常，但是也需要手动在模型设置里添加模型，回滚到更早的版本后，自定义好model list后就不用再去应用设置里选择对应的API提供商开启指定模型，而是直接在对话窗口左下角切换里就有

![Image](https://github.com/user-attachments/assets/5231c2f4-4ce7-45d7-8c27-d21965e4bd74)

![Image](https://github.com/user-attachments/assets/41e5a77f-3d72-42c1-95f7-6ce7ddb021f6)
![Image](https://github.com/user-attachments/assets/b0d4d99b-251e-4dda-ae3b-8b814751ddc5)
![Image](https://github.com/user-attachments/assets/7b06c861-6c9e-4f08-8853-03e37440fcd7)

### 📷 复现步骤

_No response_

### 🚦 期望结果

_No response_

### 📝 补充信息

_No response_

Labels: released
State: closed
Add support for OpenAI Reasoning summaries

### Description

Please add support for OpenAI's ["Reasoning Summaries"](https://platform.openai.com/docs/guides/reasoning?api-mode=responses#reasoning-summaries) feature, which provides summarized reasoning outputs from supported models (o4-mini, o3, o3-mini, o1). Having access to "Chain-of-Thought (COT)" helps developers better understand and debug model outputs by providing insights into the model's internal reasoning process.



Labels: ai/provider, support, provider/openai
State: closed
AzureAIChatCompletionClient max_toens is too small

### What happened?

**Describe the bug**
When I use AzureAIChatCompletionClient to create a model_client for deepseek-r1 to output in streaming, it only returns 20 tokens, then stop with reason=length.

**To Reproduce**
run below code, you can only get incomplete response.
```python
model_client=AzureAIChatCompletionClient(
    endpoint=os.getenv("AZURE_AI_FOUNDRY_ENDPOINT"),
    model="deepseek-r1",
    credential=AzureKeyCredential(os.getenv("AZURE_AI_FOUNDRY_KEY")),
    model_info={
        "json_output": False,
        "function_calling": False,
        "vision": False,
        "family": "r1",
    },
)
async for chunk in model_client.create_stream(messages=[UserMessage(content="how many r in strawberry?", source="user")]):
    if isinstance(chunk, str):
        print(chunk, end="")
    else:
        print("\n" + chunk.content)
```



**Expected behavior**
A complete response should be returned, but not stop due to max_tokens limitation.

**Additional context**
in AzureAIChatCompletionClient.create_stream(), a fixed max_tokens=20 is passed, does this make sense?
```python
if len(tools) > 0:
    converted_tools = convert_tools(tools)
    task = asyncio.create_task(
        self._client.complete(messages=azure_messages, tools=converted_tools, stream=True, **create_args)
    )
else:
    task = asyncio.create_task(
        self._client.complete(messages=azure_messages, max_tokens=20, stream=True, **create_args)
    )
```

### Which packages was the bug in?

Python Extensions (autogen-ext)

### AutoGen library version.

Python dev (main branch)

### Other library version.

_No response_

### Model used

deepseek-r1

### Model provider

Azure AI Foundary (Azure AI Studio)

### Other model provider

_No response_

### Python version

3.13

### .NET version

None

### Operating system

Windows

Labels: proj-extensions
State: closed
Enable `CodeExecutorAgent` to generate its own code and executing it.

### Confirmation

- [x] I confirm that I am a maintainer and so can use this template. If I am not, I understand this issue will be closed and I will be asked to use a different template.

### Issue body

Adding optional parameters: `system_message` and `model_client` to `CodeExecutorAgent` so it can generate and execute its own code -- achieving similar behavior as OpenAI Assistant Agent with code interpreter. 

Labels: code-execution, proj-agentchat
State: closed
`candidate_func` in `SelectorGroupChat`

### Confirmation

- [x] I confirm that I am a maintainer and so can use this template. If I am not, I understand this issue will be closed and I will be asked to use a different template.

### Issue body

In `SelectorGroupChat`, the `selector_func` allows for customizing an exact selection of agents to speak next. 

In many cases, we still want to rely on the model to make a selection, but with a narrowed-down pool of candidates. So it is helpful to introduce a new parameter `candidate_func` which returns a list of potential candidates for the model to select from. 

This is also to replicate the same `allowed_transitions` graph parameter in v0.2.

Labels: proj-agentchat
State: closed
[Request] 请求对硅基流动模型的识别支持：Pro/deepseek-ai/DeepSeek-V3,Pro/deepseek-ai/DeepSeek-R1

### 🥰 需求描述

硅基流动新上线了速度飞快的模型，请求添加对这两个模型的识别。

Pro/deepseek-ai/DeepSeek-V3,Pro/deepseek-ai/DeepSeek-R1

### 🧐 解决方案

填写模型名后，可以正确识别能力和token数等。

### 📝 补充信息

_No response_

Labels: released
State: closed
[Bug] 模型输出未知html标签会导致页面崩溃，进而丢失数据

### 📦 部署环境

Official Preview

### 📌 软件版本

1.51.15

### 💻 系统环境

Windows

### 🌐 浏览器

Chrome

### 🐛 问题描述

如题，
```
Error: Cannot handle unknown node `math`
    at Object.j (4299-6b4778530db9acd7.js:1:60065)
    at Object.o [as handle] (69504-10c95c38366299d1.js:1:216186)
    at O (4299-6b4778530db9acd7.js:1:59811)
    at 97854-c68d8b27bfa64f7d.js:1:47222
    at Array.map (<anonymous>)
    at 97854-c68d8b27bfa64f7d.js:1:47150
    at 57110-0e2a8c85413934e9.js:11:218308
    at node (/html) (https:///_next/static/chunks/57110-0e2a8c85413934e9.js:11:217751)
    at node (/root) (https:///_next/static/chunks/57110-0e2a8c85413934e9.js:11:217971)
    at s (57110-0e2a8c85413934e9.js:11:218048)
    at i (57110-0e2a8c85413934e9.js:11:218229)
    at 97854-c68d8b27bfa64f7d.js:1:46865
    at 57110-0e2a8c85413934e9.js:11:211532
    at i (57110-0e2a8c85413934e9.js:11:211737)
    at n (57110-0e2a8c85413934e9.js:11:211695)
    at i (57110-0e2a8c85413934e9.js:11:211720)
    at 57110-0e2a8c85413934e9.js:11:211660
    at i (57110-0e2a8c85413934e9.js:11:211737)
    at Object.run (57110-0e2a8c85413934e9.js:11:211758)
    at i (57110-0e2a8c85413934e9.js:11:213660)
    at Function.run (57110-0e2a8c85413934e9.js:11:213526)
    at Function.runSync (57110-0e2a8c85413934e9.js:11:213816)
    at en (57110-0e2a8c85413934e9.js:1:21630)
    at ll (11b4783c-ed0e6ee0adaacf7d.js:1:34823)
    at aZ (11b4783c-ed0e6ee0adaacf7d.js:1:61424)
    at ol (11b4783c-ed0e6ee0adaacf7d.js:1:72778)
    at uu (11b4783c-ed0e6ee0adaacf7d.js:1:112194)
    at 11b4783c-ed0e6ee0adaacf7d.js:1:112039
    at ui (11b4783c-ed0e6ee0adaacf7d.js:1:112047)
    at i8 (11b4783c-ed0e6ee0adaacf7d.js:1:109184)
    at uO (11b4783c-ed0e6ee0adaacf7d.js:1:129156)
    at uT (11b4783c-ed0e6ee0adaacf7d.js:1:127585)
    at u_ (11b4783c-ed0e6ee0adaacf7d.js:1:127902)
    at 11b4783c-ed0e6ee0adaacf7d.js:1:127265
```

**第一行的`math`可能为其他的标签，如`mathnode`，均为模型可能输出的内容**
但是均会导致页面崩溃

其实崩溃了问题不大，主要是lobechat在崩溃的时候会丢数据，此类学术问题普遍较长，有很大概率会出现特殊标签


### 📷 复现步骤

随机

### 🚦 期望结果

1. 可以不渲染，但是别崩溃
2. 正确处理崩溃逻辑，不要让崩溃页面把模型最新轮的对话挤没了
3. 如[此issue](https://github.com/lobehub/lobe-chat/issues/5840)

### 📝 补充信息

_No response_

Labels: released
State: closed
Add support for xAI's Grok 3 Mini reasoning effort

### Description

xAI's Grok 3 Mini now supports a reasoning effort param:
https://docs.x.ai/docs/guides/reasoning#reasoning

Labels: ai/provider, support, provider/xai
State: closed
[Request] Add Support for NVIDIA NIM API Platform Integration

### 🥰 Problem Description  
NVIDIA NIM APIs provides a hosted service (`build.nvidia.com`) for deploying open-source models on high-performance NVIDIA GPUs, enabling developers to leverage optimized inference endpoints via APIs. Currently, LobeChat supports multiple inference providers but lacks integration with NVIDIA NIM.  

Adding NIM APIs support would allow users to:  
1. Deploy models efficiently on NVIDIA-optimized infrastructure  
2. Access popular open-source models (e.g., Llama 3, Mistral, DeepSeek-R1) via NIM's managed service  
3. Reduce self-hosting costs/complexity for GPU-based inference  

### 🧐 Suggested Implementation  
1. Add "NVIDIA NIM" provider option in model settings  
2. Configuration fields:  
   - `API Key` (NVIDIA API key)  
   - `Endpoint URL` (NIM deployment endpoint)  
   - `Model List` (auto-populate available models)  

### 📝 Note: DeepSeek-R1 Thinking Protocal Handling
The NIM-deployed DeepSeek-R1 model directly outputs `<think>` formatting blocks in the responses field. These special markers need post-processing adaptation in LobeChat.

### 📄 References

- [NVIDIA NIM LLM APIs Reference](https://docs.api.nvidia.com/nim/reference/llm-apis)
- [NVIDIA NIM deepseek-r1 Reference](https://docs.api.nvidia.com/nim/reference/deepseek-ai-deepseek-r1)

Labels: released
State: closed
Calling /clear drops entries from navigating history with the up arrow

### What happened?

When you type /clear it resets the chat history which is useful when trying to save chat tokens. However it breaks flows where users want to type clear and then repeat a prompt they just typed. For example, I often do this when trying to repeat the previous prompt to run and fix tests with a clean context window. Chats from before the current conversation are still shown just not chats from the latest conversation.

### What did you expect to happen?

Expect the only effect of clear to be to clear the conversation history not break the history of chats accessible with the up arrow.

### Client information

<details>

```console
$ gemini /about
# paste output here
```

</details>


### Login information

_No response_

### Anything else we need to know?

_No response_

Labels: priority/p1
State: closed
[Bug] Azure OpenAI o1-mini not support?

### 📦 Environment

Docker

### 📌 Version

v1.49.12

### 💻 Operating System

Ubuntu

### 🌐 Browser

Chrome

### 🐛 Bug Description

connect to azure openai o1-mini model failed with this error, while others model (4o, 4o-mini) could work as expected.
the configuration looks like: `AZURE_MODEL_LIST: gpt-4o->gpt-4o=gpt-4o,gpt-4o-mini->gpt-4o-mini=gpt-4o-mini,o1-mini->o1-mini=o1-mini`

```
{
  "error": {
    "message": "Unsupported value: 'messages[0].role' does not support 'system' with this model.",
    "type": "invalid_request_error",
    "param": "messages[0].role",
    "code": "unsupported_value"
  },
  "endpoint": "https://***.openai.azure.com/",
  "provider": "azure"
}
```

### 📷 Recurrence Steps

_No response_

### 🚦 Expected Behavior

_No response_

### 📝 Additional Information

_No response_

Labels: released, provider:azure
State: closed
[Bug] LM Studio Provider: Default URL is not being used correctly

### 📦 Environment

Docker

### 📌 Version

v1.51.3

### 💻 Operating System

macOS

### 🌐 Browser

Chrome

### 🐛 Bug Description

<img width="1052" alt="Image" src="https://github.com/user-attachments/assets/09ffaf44-4eba-4a13-a145-45d29782e03e" />

Default URL is not being used. The default is `http://127.0.0.1:11434/v1`, however Lobe makes request to `localhost`.


### 📷 Recurrence Steps

_No response_

### 🚦 Expected Behavior

_No response_

### 📝 Additional Information

_No response_

Labels: released
State: closed
/clear command deletes user queries.

### What happened?

using /clear command also clears user queries which are accessible by pressing up arrow key. 

### What did you expect to happen?

retain user queries after /clear command is executed. 

### Client information


* **CLI Version:** 0.1.18
* **Git Commit:** cd7e60e0
* **Operating System:** linux v23.11.0
* **Sandbox Environment:** no sandbox
* **Model Version:** gemini-2.5-flash
* **Memory Usage:** 303.4 MB


### Login information

_No response_

### Anything else we need to know?

_No response_

Labels: status/need-triage, priority/p2
State: closed
[Request] Gemini API Integration with Grounding

### 🥰 Feature Description

Hi LobeHub Team,

Please integrate the Google Gemini API with grounding (using Google Search) enabled.  This will allow LobeHub models to leverage real-time information for improved accuracy and relevance.  See the documentation for details: https://ai.google.dev/gemini-api/docs/grounding

Thanks,
ShinChven

### 🧐 Proposed Solution

Integrate the Google Gemini API, enabling the `grounding` parameter (using Google Search) as documented here: [https://ai.google.dev/gemini-api/docs/grounding](https://ai.google.dev/gemini-api/docs/grounding).  A simple toggle or dedicated "Grounded Gemini" model type in LobeHub would be ideal.  Include a way to display grounding sources for transparency.


### 📝 Additional Information

_No response_

Labels: released, provider:gemini, feature:search
State: closed
[Request] 建议增加腾讯满血版的DeepSeek R1

### 🥰 需求描述

调用地址：https://api.lkeap.cloud.tencent.com/v1  
和之前的腾讯混元不同，不能在腾讯混元里面增加，需要新的provider

DeepSeek-V3（model 参数值为deepseek-v3）
DeepSeek-V3为671B参数MoE模型，在百科知识、数学推理等多项任务上优势突出，评测成绩在主流榜单中位列开源模型榜首。
支持64K上下文长度，最大支持8K输出长度。
DeepSeek-R1（model 参数值为deepseek-r1）
DeepSeek-R1为671B模型，使用强化学习训练，推理过程包含大量反思和验证，思维链长度可达数万字。 该系列模型在数学、代码以及各种复杂逻辑推理任务上推理效果优异，并为用户展现了完整的思考过程。
支持64K上下文长度，最大支持8K输出长度。

[腾讯官方详细相关介绍](https://cloud.tencent.com/document/product/1772/115963)

### 🧐 解决方案

增加新的provider以支持腾讯的[知识引擎原子能力](https://cloud.tencent.com/document/product/1772)

### 📝 补充信息

_No response_

Labels: released
State: closed
[Bug] 在openrouter中使用客户端请求模式会报错

### 📦 部署环境

Vercel

### 📌 软件版本

1.52.4

### 💻 系统环境

Windows

### 🌐 浏览器

Chrome

### 🐛 问题描述

模型供应商选择openrouter，且打开客户端请求模式时，会返回未知类型错误。
`{
  "error": {},
  "endpoint": "https://openrouter.ai/api/v1",
  "provider": "openrouter"
}`

![Image](https://github.com/user-attachments/assets/8fe4d62a-a104-4942-949e-be0b100db5a8)

关闭客户端请求模式时不会出现错误

![Image](https://github.com/user-attachments/assets/78bb9fd4-c912-4063-9778-74f1174aa39e)

### 📷 复现步骤

模型供应商openrouter -> 打开客户端请求模式 -> 连通性测试或任意找一个openrouter模型开始对话 -> 报错

### 🚦 期望结果

是否打开客户端请求模式都不应该报错

### 📝 补充信息

_No response_

Labels: released
State: closed
[Bug] 在ai服务商页面点击获取模型列表时有些模型能力会消失

### 📦 Environment

Docker

### 📌 Version

1.52.7

### 💻 Operating System

Windows

### 🌐 Browser

Edge

### 🐛 Bug Description

我使用newapi来转发我所有的模型，点击获取模型列表后除了openai的模型能力会保留其他模型的能力会消失

![Image](https://github.com/user-attachments/assets/16a0766e-5b33-45f8-b735-7f5de1689a35)

![Image](https://github.com/user-attachments/assets/9f69c11e-9b88-4226-a440-50e8f87ea075)

点击清除获取的模型后会变正常

![Image](https://github.com/user-attachments/assets/9504cdcb-e41f-45f7-8352-6d7950f40216)

![Image](https://github.com/user-attachments/assets/d149f170-fde2-47c6-913e-3a8383469599)

### 📷 Recurrence Steps

_No response_

### 🚦 Expected Behavior

_No response_

### 📝 Additional Information

_No response_

Labels: released
State: closed
[Request] 自定义模型配置弹窗上下文增加2M的选项

### 🥰 需求描述

增加自定义模型时建议上下文左边的选项增加2M的选项，现在最大1M；Google的模型上下文很多都是2M的，使用中转API的渠道时每次增加gemini模型都要自己算一下
![Image](https://github.com/user-attachments/assets/e9e7274c-221e-4d02-9f1f-24f5cde4536a)

### 🧐 解决方案

左边的选项里增加2M的点击选项

### 📝 补充信息

_No response_

Labels: released
State: closed
[Bug] 腾讯云deepseek模型无法在lobechat中使用

### 📦 部署环境

Vercel

### 📌 软件版本

v1.52.7

### 💻 系统环境

Windows

### 🌐 浏览器

Chrome

### 🐛 问题描述
我使用client模式部署lobechat的时候还能用，切换成服务端数据库就出问题了

![Image](https://github.com/user-attachments/assets/31950f60-52da-4ed4-9711-0d13d080188b)

### 📷 复现步骤

_No response_

### 🚦 期望结果

_No response_

### 📝 补充信息

_No response_

Labels: released
State: closed
Connection error with AzureOpenAI after latest merge

### What happened?

**Describe the bug**
The following error appears in the latest version when querying an AzureOpenAI model:
```bash
TypeError: Header value must be str or bytes, not <class 'pydantic.types.SecretStr'>
```

Seems related to the last PR #5939 

**To Reproduce**
Install the latest version with
```bash
pip install autogen-ext
```

**Expected behavior**
The previous version works well



### Which packages was the bug in?

Python Extensions (autogen-ext)

### AutoGen library version.

Python dev (main branch)

### Other library version.

_No response_

### Model used

_No response_

### Model provider

None

### Other model provider

_No response_

### Python version

None

### .NET version

None

### Operating system

None

Labels: needs-triage
State: closed
polymorphism bug in in AssistantAgent._process_model_result

### What happened?

**Describe the bug**
In the code shwon below, it should use cls._reflect_on_tool_use_flow and cls._summarize_tool_use to ensure proper polymorphism.
[code](https://github.com/microsoft/autogen/blob/9bde5ef911e28d63f4c681f917096609d7cdf98f/python/packages/autogen-agentchat/src/autogen_agentchat/agents/_assistant_agent.py#L961)
```python
        # STEP 4D: Reflect or summarize tool results
        if reflect_on_tool_use:
            async for reflection_response in AssistantAgent._reflect_on_tool_use_flow(
                system_messages=system_messages,
                model_client=model_client,
                model_client_stream=model_client_stream,
                model_context=model_context,
                agent_name=agent_name,
                inner_messages=inner_messages,
            ):
                yield reflection_response
        else:
            yield AssistantAgent._summarize_tool_use(
                executed_calls_and_results=executed_calls_and_results,
                inner_messages=inner_messages,
                handoffs=handoffs,
                tool_call_summary_format=tool_call_summary_format,
                agent_name=agent_name,
            )
```

**To Reproduce**
Create a child class of AssistantAgent and override methods such as _reflect_on_tool_use_flow and _summarize_tool_use. When you create a group chat using the child class, it still calls the parent class's methods.

**Expected behavior**
The override methods should be be called.

**Screenshots**
If applicable, add screenshots to help explain your problem.

**Additional context**
Add any other context about the problem here.


### Which packages was the bug in?

Python AgentChat (autogen-agentchat>=0.4.0)

### AutoGen library version.

Python dev (main branch)

### Other library version.

_No response_

### Model used

_No response_

### Model provider

None

### Other model provider

_No response_

### Python version

None

### .NET version

None

### Operating system

None

Labels: needs-triage
State: closed
[Bug] 无法使用英伟达的deepseek模型

### 📦 部署环境

Other, Docker

### 📌 软件版本

1.51.11

### 💻 系统环境

Ubuntu

### 🌐 浏览器

Chrome

### 🐛 问题描述

<img width="559" alt="Image" src="https://github.com/user-attachments/assets/4c425b24-29a2-4bd6-af3d-38bac87449e5" />

使用的模型是[英伟达build deepseek](https://build.nvidia.com/deepseek-ai/deepseek-r1?snippet_tab=Node)提供的

### 📷 复现步骤

_No response_

### 🚦 期望结果

_No response_

### 📝 补充信息

_No response_

Labels: released
State: closed