alfin06/swegent-issues-filtered huggingface dataset:
Setting verbose=False for Agent Still Shows Tool Output

**Description**:
When setting the `verbose` parameter to `False` for an agent, the expectation is that the tool outputs should not be shown in the execution logs. However, I have observed that the tool output is still displayed. This issue persists regardless of the `verbose` setting.

**Steps to Reproduce**:
1. Define Azure OpenAI configuration.
2. Create a custom tool that returns a string.
3. Create an agent with `verbose=False` and assign the custom tool and Azure LLM to it.
4. Create a task for the agent to use the custom tool.
5. Form a crew with the agent and the task.
6. Kickoff the crew and observe the output.

**Example Code**:
```python
# full_example.py
import os
from crewai import Agent, Task, Crew, Process
from crewai_tools import tool
from langchain_openai import AzureChatOpenAI

# Define Azure OpenAI configuration
azure_llm  = AzureChatOpenAI(
    azure_endpoint=os.environ.get("AZURE_OPENAI_ENDPOINT"),
    api_key=os.environ.get("AZURE_OPENAI_KEY"),
    api_version=os.environ.get("AZURE_OPENAI_VERSION"),
    model=os.environ.get("AZURE_OPENAI_DEPLOYMENT"),
)

# Define the custom tool
@tool('Custom Tool')
def custom_tool():
    '''This is a custom tool that returns a string.'''
    return "This gets printed even if the verbose is off."

# Create an agent with verbose set to False
agent = Agent(
    role='Test Agent',
    goal='Test the tool output with verbose off',
    backstory='This agent is created to test the custom tool output.',
    verbose=False,
    tools=[custom_tool],
    llm=azure_llm,
)

# Create a task for the agent
test_task = Task(
    description="Use the custom tool and return its output.",
    expected_output="The output of the custom tool.",
    agent=agent
)

# Form a crew with the agent and the task
crew = Crew(
    agents=[agent],
    tasks=[test_task],
    process=Process.sequential
)

# Kickoff the crew
result = crew.kickoff()
print(result)
```
# Expected Behavior:
When verbose=False, the tool output should not be shown in the execution logs.

# Observed Behavior:
The tool output "This gets printed even if the verbose is off." is still shown even when verbose=False.

# My environment details: 
Operating System: Windows 11
Python version: 3.11.5
CrewAI version: 0.36.0


Labels: no-issue-activity
State: closed
[Request] 建议修改DeepSeek模型的显示名称

### 🥰 需求描述

DEEPSEEK模型已经随着V3.1的发布变化了，现在deepseek-chat/deepseek-reasoner实际对应的是
DeepSeek-V3.1（非思考模式/DeepSeek-V3.1（思考模式）这两个模型，现在显示的还是V3和R1


### 🧐 解决方案

能不能直接显示成DeeoSeek Reasoner/DeeoSeek Chat就好了，这样也不用随着修改了

### 📝 补充信息

_No response_

Labels: released
State: closed
[Request] 请求适配 火山引擎的DeepSeek V3.1 和 OpenRouter的推理模型

### 🥰 需求描述

火山调用示例：
```python
import os
# 升级方舟 SDK 到最新版本 pip install -U 'volcengine-python-sdk[ark]'
from volcenginesdkarkruntime import Ark

client = Ark(
    # 从环境变量中读取您的方舟API Key
    api_key=os.environ.get("ARK_API_KEY"), 
    # 深度思考模型耗费时间会较长，请您设置较大的超时时间，避免超时，推荐30分钟以上
    timeout=1800,
    )
response = client.chat.completions.create(
    # 替换 <Model> 为您的Model ID
    model="deepseek-v3-1-250821",
    messages=[
        {"role": "user", "content": "我要研究深度思考模型与非深度思考模型区别的课题，体现出我的专业性"}
    ],
     thinking={
         "type": "disabled" # 默认行为，不使用深度思考能力,
         # "type": "enabled" # 使用深度思考能力
     },
)

print(response)
```

OpenRouter参数 [完整参考](https://openrouter.ai/docs/use-cases/reasoning-tokens)：
```json
{
  "model": "your-model",
  "messages": [],
  "reasoning": {
    // One of the following (not both):
    "effort": "high", // Can be "high", "medium", or "low" (OpenAI-style)
    "max_tokens": 2000, // Specific token limit (Anthropic-style)

    // Optional: Default is false. All models support this.
    "exclude": false, // Set to true to exclude reasoning tokens from response

    // Or enable reasoning with the default parameters:
    "enabled": true // Default: inferred from `effort` or `max_tokens`
  }
}

```

### 🧐 解决方案

调用时添加相关字段即可

### 📝 补充信息

_No response_

Labels: released
State: closed
Is the MiniCPM-O prompt template correct?

### Reminder

- [x] I have read the above rules and searched the existing issues.

### System Info

<img width="1179" height="309" alt="Image" src="https://github.com/user-attachments/assets/3e138081-c39f-4164-8f52-a7c2cc2ec2c9" />

Should the MiniCPM-O prompt template be updated to "You are a helpful assistant"?

### Reproduction

```text
Put your message here.
```



### Others

_No response_

Labels: solved
State: closed
streamText: Logic for `text-end` differs from logic for `reasoning-end`

Logic for `text-end`

https://github.com/vercel/ai/blob/67f7e765458500102d6a4e60a4687692b0d03efd/packages/ai/src/generate-text/stream-text.ts#L732-L734

differs from logic for `reasoning-end`

https://github.com/vercel/ai/blob/67f7e765458500102d6a4e60a4687692b0d03efd/packages/ai/src/generate-text/stream-text.ts#L765-L783

which means that we are ignoring provider metadata from the `text-end` event.

Labels: bug, ai/core, ai/provider
State: closed
New API 渠道的FLUX.1 Kontext [pro]模型无法使用

### 📦 部署环境

Docker

### 📦 部署模式

服务端模式(lobe-chat-database 镜像)

### 📌 软件版本

1.114.0

### 💻 系统环境

macOS

### 🌐 浏览器

Edge

### 🐛 问题描述

我是用的 Azure AI Fundry 里面的 Flux 和 Flux Kontext，并通过 New-API 把接口暴露出来。
目前在 LobeChat 里面用 Flux 1.1 Pro 单独绘图的话没问题。
但是使用 FLUX.1 Kontext 来进行图片编辑的话，报错 499错误。（对了，使用 FLUX.1 Kontext 还必须手动触发一个随机种子， FLUX 1.1 Pro 倒是不用）

<img width="2022" height="822" alt="Image" src="https://github.com/user-attachments/assets/43522e9d-f4b5-46db-8a27-b9c6cbcab1b9" />

### 📷 复现步骤

_No response_

### 🚦 期望结果

_No response_

### 📝 补充信息

_No response_

Labels: released, unconfirm
State: closed
Langchain lags is behind the master repo

### Bug Description

I just encoutered a bug in the PerplexityAI Component, essentially the model parameters are named wrong and max_tokens is simply ignored, all these bugs have been already fixed in the main community langchain repo https://github.com/langchain-ai/langchain/issues/28229 .

The component at the moment works but it just cuts the output of the model and cannot be used properly. 

Current langflow langchain lib version: 0.3.21  ------------> latest is 0.3.26

### Reproduction

Steps to reproduce: 

1. Create project
2. add perplexityAi model 
3. component doesnt work because the max tokens parameter doesnt exisist in the python class.
4. try to execute the flow, your output will be truncated

### Expected behavior

it works

### Who can help?

_No response_

### Operating System

macos

### Langflow Version

1.4.3

### Python Version

None

### Screenshot

_No response_

### Flow File

_No response_

Labels: bug
State: closed
When using Gemini's OpenAI compatible API, request fails due to frequency_penalty parameter

### 📦 Platform

Self hosting Docker

### 📦 Deploymenet mode

server db(lobe-chat-database image)

### 📌 Version

v1.116.1

### 💻 Operating System

macOS

### 🌐 Browser

Edge

### 🐛 Bug Description

Gemini官方有OpenAI兼容格式进行透明代理。详情请参考官方文档：https://ai.google.dev/gemini-api/docs/openai
当我配置了OpenAI格式的自定义服务商，能获取到模型（这说明服务端正常工作），但对话功能返回错误

### 📷 Recurrence Steps

<img width="1384" height="1422" alt="Image" src="https://github.com/user-attachments/assets/71c9d0ec-03bb-4721-b1fe-dfe3ac29f789" />

<img width="1812" height="842" alt="Image" src="https://github.com/user-attachments/assets/191e1b1d-8091-4d2d-9cd3-4ac4689b73bc" />

点击连通性检查，lobe发送以下请求
```shell
curl 'https://generativelanguage.googleapis.com/v1beta/openai/chat/completions' \
  -H "authorization: Bearer ${GEMINI_API_KEY}" \
  -H 'content-type: application/json' \
  --data-raw $'{\n  "stream": true,\n  "frequency_penalty": 0,\n  "presence_penalty": 0,\n  "temperature": 1,\n  "top_p": 1,\n  "messages": [\n    {\n      "content": "hello",\n      "role": "user"\n    }\n  ],\n  "model": "gemini-1.5-flash",\n  "stream_options": {\n    "include_usage": true\n  }\n}'
```

响应报错：
```json
[{
  "error": {
    "code": 400,
    "message": "Invalid JSON payload received. Unknown name \"frequency_penalty\": Cannot find field.",
    "status": "INVALID_ARGUMENT",
    "details": [
      {
        "@type": "type.googleapis.com/google.rpc.BadRequest",
        "fieldViolations": [
          {
            "description": "Invalid JSON payload received. Unknown name \"frequency_penalty\": Cannot find field."
          }
        ]
      }
    ]
  }
}
]
```

删除`frequency_penalty`字段后可正常响应数据。

### 🚦 Expected Behavior

LobeChat 应该能够成功向兼容 OpenAI 格式的 Gemini API 发送请求，并正常接收和显示模型的响应。理想情况下，LobeChat 在发送请求前可以移除或忽略掉目标服务不支持的参数。

### 📝 Additional Information

需要需要在lobe添加多个geimin服务商的源，但lobehub现在自定义服务商暂时没提供gemini格式；
就使用了gemini官方的OpenAI兼容格式，但在lobehub中发送了多余参数，gemini格式的服务也对请求参数要求严格；

解决方案建议：在LobeChat的请求构建逻辑中增加一个判断。当用户使用的是gemini兼容OpenAI模式时（可能需要增加一个额外的设置），在最终的请求体中移除frequency_penalty和presence_penalty这两个字段。

这样既能确保对 Gemini API 的兼容性，也不会影响现有对 OpenAI 或其他完全兼容 API 的使用。

Labels: released, provider:gemini, os:macos, deployment:server, docker, feature:api, platform:web, device:pc, hosting:self-host
State: closed
Anthropic tool result not handling pdf files

### Description

> switch (output.type) {
                  case "content":
                    contentValue = output.value.map((contentPart) => {
                      switch (contentPart.type) {
                        case "text":
                          return {
                            type: "text",
                            text: contentPart.text,
                            cache_control: void 0
                          };
                        case "media": {
                          if (contentPart.mediaType.startsWith("image/")) {
                            return {
                              type: "image",
                              source: {
                                type: "base64",
                                media_type: contentPart.mediaType,
                                data: contentPart.data
                              },
                              cache_control: void 0
                            };
                          }
                          throw new import_provider2.UnsupportedFunctionalityError({
                            functionality: `media type: ${contentPart.mediaType}`
                          });
                        }
                      }
                    });
                    break;

application/pdf isn't being handled here even though anthropic official api supports it

### AI SDK Version

"ai": "5.0.56"

### Code of Conduct

- [x] I agree to follow this project's Code of Conduct

Labels: feature, ai/provider, provider/anthropic
State: closed
非流式的bugs

### 📦 部署环境

Vercel

### 📦 部署模式

服务端模式(lobe-chat-database 镜像)

### 📌 软件版本

v1.118.8

### 💻 系统环境

Windows

### 🌐 浏览器

Chrome

### 🐛 问题描述

使用SiliconCloud的DeepSeek V3.1模型关闭流式，目前已测试的：

1. Token用量不能显示。

2. 无法显示思考内容。

返回的数据格式如下：
```json
{
    "id": "0198fb4623e75335b143824dec5f5028",
    "object": "chat.completion",
    "created": 1756562334,
    "model": "deepseek-ai/DeepSeek-V3.1",
    "choices": [
        {
            "index": 0,
            "message": {
                "role": "assistant",
                "content": "当然！这里有几个不同风格的中文名字供你参考...",
                "reasoning_content": "嗯，用户需要起一个中文名字，但没有提供更多信息..."
            },
            "finish_reason": "stop"
        }
    ],
    "usage": {
        "prompt_tokens": 28,
        "completion_tokens": 458,
        "total_tokens": 486,
        "completion_tokens_details": {
            "reasoning_tokens": 127
        }
    },
    "system_fingerprint": ""
}
```

### 📷 复现步骤

_No response_

### 🚦 期望结果

_No response_

### 📝 补充信息

_No response_

Labels: released, unconfirm
State: closed
OpenAI responses api partial image streaming support

### Description

Lars is on it

### AI SDK Version

_No response_

### Code of Conduct

- [x] I agree to follow this project's Code of Conduct

Labels: feature, ai/provider, provider/openai
State: closed
gemini-2.5-flash-image-preview上游是openai格式提供的，返回的base64无法正常显示

### 📦 部署环境

Docker

### 📦 部署模式

服务端模式(lobe-chat-database 镜像)

### 📌 软件版本

v1.120.7

### 💻 系统环境

Windows

### 🌐 浏览器

Chrome

### 🐛 问题描述

上游配置的是用newapi配置的openai格式的gemini-2.5-flash-image-preview，查看请求返回的图片是![image](data:image/png;base64,然后前端报错Maximum call stack size exceeded
<img width="1888" height="611" alt="Image" src="https://github.com/user-attachments/assets/fba626f3-6656-49d7-9134-75edf4dd3740" />

<img width="1716" height="581" alt="Image" src="https://github.com/user-attachments/assets/95e62d09-9aaa-4d3c-8c83-3f8cb706450a" />

### 📷 复现步骤

_No response_

### 🚦 期望结果

_No response_

### 📝 补充信息

_No response_

Labels: released, provider:gemini, unconfirm
State: closed
No delimiter between outputs in non-interactive mode

### What happened?

When I run `gemini -p "..."` and it involves more than one step it  just keeps writing outputs without separating them with newlines and tool calls if they a used not show in any way.

### What did you expect to happen?

I expect it to put some delimeters, i.e. double newline, between output parts. 

### Client information

<details>
<summary>Client Information</summary>

Run `gemini` to enter the interactive CLI, then run the `/about` command.

```console
> /about
╭──────────────────────────────────────────────────────────────────────────────╮
│                                                                              │
│ About Gemini CLI                                                             │
│                                                                              │
│ CLI Version                0.6.0-preview.4                                   │
│ Git Commit                 85409d73                                          │
│ Model                      gemini-2.5-pro                                    │
│ Sandbox                    no sandbox                                        │
│ OS                         linux                                             │
│ Auth Method                OAuth                                             │
│ GCP Project                wired-benefit-470703-b6                           │
│                                                                              │
╰──────────────────────────────────────────────────────────────────────────────╯
```

</details>

### Login information

_No response_

### Anything else we need to know?

_No response_

Labels: area/non-interactive
State: closed
Hook Type Decoupling and Translation

Implement SDK-independent hook types with a translation layer to decouple hook interfaces from the underlying Gemini SDK, ensuring hooks remain stable across SDK updates.

Labels: priority/p2, area/core
State: closed
Hook Execution Planning and Matching

Implement hook matching logic and execution planning with support for tool matchers, deduplication, and sequential vs parallel execution modes.

Labels: priority/p2
State: closed
TypeError: stepModel.doStream is not a function

### Description

```
TypeError: stepModel.doStream is not a function
    at fn (/Users/namitchadha/astral/www/node_modules/ai/src/generate-text/stream-text.ts:1162:43)
    at <anonymous> (/Users/namitchadha/astral/www/node_modules/ai/src/telemetry/record-span.ts:18:28)
    at Object.startActiveSpan (/Users/namitchadha/astral/www/node_modules/ai/src/telemetry/noop-tracer.ts:21:14)
    at recordSpan (/Users/namitchadha/astral/www/node_modules/ai/src/telemetry/record-span.ts:16:17)
    at <anonymous> (/Users/namitchadha/astral/www/node_modules/ai/src/generate-text/stream-text.ts:1114:13)
    at _retryWithExponentialBackoff (/Users/namitchadha/astral/www/node_modules/ai/src/util/retry-with-exponential-backoff.ts:96:18)
    at <anonymous> (/Users/namitchadha/astral/www/node_modules/ai/src/util/retry-with-exponential-backoff.ts:73:5)
    at streamStep (/Users/namitchadha/astral/www/node_modules/ai/src/generate-text/stream-text.ts:1113:21)
    at async fn (/Users/namitchadha/astral/www/node_modules/ai/src/generate-text/stream-text.ts:1535:9)
    at async <anonymous> (/Users/namitchadha/astral/www/node_modules/ai/src/telemetry/record-span.ts:18:22)
```

Code to repro
```ts
  const modelProvider = anthropic('claude-opus-4-20250514');

    const agent = new Agent({
      model: modelProvider,
      system: 'You are a helpful AI assistant with access to web search and webpage content retrieval.',
      tools: {
        webSearch: webSearchTool,
        visitWebpage: visitWebpageTool,
      },
      stopWhen: stepCountIs(10),
    });

    console.log('Agent created successfully');
    console.log('Starting streaming...\n');
    console.log('='.repeat(50));
    console.log('Response:');
    console.log('='.repeat(50));

    const stream = agent.stream({
      messages: [
        {
          role: 'user',
          content: 'What is the capital of France? use web search',
        },
      ],
    });

    let fullText = '';
    let chunkCount = 0;

    for await (const chunk of stream.textStream) {
      chunkCount++;
      process.stdout.write(chunk);
      fullText += chunk;
    }
```

### AI SDK Version

        "ai": "^5.1.0-beta.19",
        "@ai-sdk/anthropic": "^2.0.22",
        "@ai-sdk/openai": "^2.0.42",

### Code of Conduct

- [x] I agree to follow this project's Code of Conduct

Labels: bug, ai/provider, provider/openai, provider/anthropic
State: closed
Some Gemini models do not support web search

https://developers.googleblog.com/en/continuing-to-bring-you-our-latest-models-with-an-improved-gemini-2-5-flash-and-flash-lite-release/

`gemini-flash-latest`, `gemini-pro-latest`, etc. These models are not considered to be part of the Gemini 2 series, so incorrect parameters have been enabled.

https://github.com/vercel/ai/blob/92dadc07893b0525da8d08ab31930f55f0149611/packages/google/src/google-prepare-tools.ts#L75-L88

Labels: ai/provider, provider/google
State: closed
[Request] 绘画能支持记忆上一次选择的模型

### 🥰 需求描述

目前每次打开会回到gpt-image，无法记忆之前的选择
希望能支持模型的记忆

### 🧐 解决方案

像聊天的模型选择一样，增加模型选择记忆

### 📝 补充信息

_No response_

Labels: released
State: closed
[Feature Request] Add support for MCP tool title attribute in ToolUIPart

### Description

The MCP Spec 2025-06-18 specifies that tools can have a `title` attribute for display purposes:
https://modelcontextprotocol.io/specification/2025-06-18/server/tools#tool
However, the current `ToolUIPart` type in AI SDK doesn't seem to provide a way to access the `title` property:

```typescript
/**
 * A UI tool invocation contains all the information needed to render a tool invocation in the UI.
 * It can be derived from a tool without knowing the tool name, and can be used to define
 * UI components for the tool.
 */
type UIToolInvocation<TOOL extends UITool | Tool> = {
    toolCallId: string;
} & ({
    state: 'input-streaming';
    input: DeepPartial<asUITool<TOOL>['input']> | undefined;
    providerExecuted?: boolean;
    output?: never;
    errorText?: never;
} | {
    state: 'input-available';
    input: asUITool<TOOL>['input'];
    providerExecuted?: boolean;
    output?: never;
    errorText?: never;
    callProviderMetadata?: ProviderMetadata;
} | {
    state: 'output-available';
    input: asUITool<TOOL>['input'];
    output: asUITool<TOOL>['output'];
    errorText?: never;
    providerExecuted?: boolean;
    callProviderMetadata?: ProviderMetadata;
    preliminary?: boolean;
} | {
    state: 'output-error';
    input: asUITool<TOOL>['input'] | undefined;
    rawInput?: unknown;
    output?: never;
    errorText: string;
    providerExecuted?: boolean;
    callProviderMetadata?: ProviderMetadata;
});
type ToolUIPart<TOOLS extends UITools = UITools> = ValueOf<{
    [NAME in keyof TOOLS & string]: {
        type: `tool-${NAME}`;
    } & UIToolInvocation<TOOLS[NAME]>;
}>;
```

There doesn't seem to be a method to access the `title` property. Since title is the "human-readable name of the tool for display purposes," I think we should have a way to retrieve and display it via `ToolUIPart`.

**Question:**
What would be the recommended approach to implement this? Should the title be added directly to the UIToolInvocation type, or would there be a better pattern to follow?

### AI SDK Version

_No response_

### Code of Conduct

- [x] I agree to follow this project's Code of Conduct

Labels: ai/provider, support, ai/mcp
State: closed
WARN server::routes::task_attempts: diff WS closed: Container ref not found for task attempt

Trying it out for the first time on NixOS.

Two (or three, really) bugs so far:

1) Does not error out gracefully on install (via `npx vibe-kanban`) when `unzip` not found before erroring out. Somehow, I didn't have it installed yet.

2) The above error (in the subject line, `WARN server::routes::task_attempts: diff WS closed: Container ref not found for task attempt`) occurs as soon as I try to create a task against gpt-5 codex. And it repeats indefinitely... And shortly after that...

3) OOM error which hangs my entire machine. Sooooo maybe look into your memory leaks, please.

But hey, the UI looks great!

State: closed
No Way to retreive Openai Code Interpreter tool generated file!

### Description

If you refer to the docs https://platform.openai.com/docs/guides/tools-code-interpreter

Openai Code Interpreter tool also generates file based on users question/query it creates "annotations": [] which user can download. However there I can't find any such way to get the annotations. 

### AI SDK Version

_No response_

### Code of Conduct

- [x] I agree to follow this project's Code of Conduct

Labels: ai/provider, support, provider/openai
State: closed
通过newapi接入了阿里云百炼的`qwen-image-edit`模型，无法正常使用

### 📦 部署环境

Docker

### 📦 部署模式

服务端模式(lobe-chat-database 镜像)

### 📌 软件版本

v1.126.1

### 💻 系统环境

Ubuntu, Windows

### 🌐 浏览器

Chrome

### 🐛 问题描述

通过newapi接入了阿里云百炼的`qwen-image-edit`模型，无法正常使用，提示`400 url error, please check url！`
<img width="1035" height="443" alt="Image" src="https://github.com/user-attachments/assets/7360bf9e-3a50-47f2-8359-588833893623" />

但是，通义万相和qwen-image模型，都可以正常生产图片
通过cherry测试`qwen-image-edit`也是正常的，newapi调试`qwen-image-edit`也正常

### 📷 复现步骤

_No response_

### 🚦 期望结果

_No response_

### 📝 补充信息

_No response_

Labels: released, unconfirm
State: closed
无法接入阿里云Qwen

### 📦 Platform

Official Preview

### 📦 Deploymenet mode

client db (lobe-chat image)

### 📌 Version

v1.127.1

### 💻 Operating System

macOS

### 🌐 Browser

Chrome

### 🐛 Bug Description

无法接入阿里云平台

### 📷 Recurrence Steps

在语言模型中选择阿里云Qwen，不勾选任何模型，输入API KEY后点击检查链接。返回：
{
  "error": {
    "message": "The model `qwen-flash-latest` does not exist or you do not have access to it.",
    "type": "invalid_request_error",
    "param": null,
    "code": "model_not_found"
  },
  "endpoint": "https://dashscope.aliyuncs.com/compatible-mode/v1",
  "provider": "qwen"
}

### 🚦 Expected Behavior

{
  "error": {
    "message": "The model `qwen-flash-latest` does not exist or you do not have access to it.",
    "type": "invalid_request_error",
    "param": null,
    "code": "model_not_found"
  },
  "endpoint": "https://dashscope.aliyuncs.com/compatible-mode/v1",
  "provider": "qwen"
}

### 📝 Additional Information

_No response_

Labels: released, unconfirm
State: closed
[Request] 建议在“自定义模型配置“功能中增加一个选项，来配置当前模型的type是chat、realtime、image等等

### 🥰 需求描述

建议在“自定义模型配置“功能中增加一个选项，来配置当前模型的type是chat、realtime、image等等

因为通常会统一对接一个oneapi的服务做AI网关入口，通常会同时接入阿里、火山的各种类型的模型，并且会针对需求修改名字，如果不支持配置，则默认新增的模型都是chat类型。

比如我oneapi代理了火山的doubao-seedream-4，并且在openai的模型中开启了这个模型，但是无法在绘画功能中使用这个模型

### 🧐 解决方案

在“自定义模型配置“功能中增加一个选项，来配置当前模型的type是chat、realtime、image等等

### 📝 补充信息

_No response_

Labels: released
State: closed