Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] 仅自带的 Anthropic Provider 支持开启 Thinking 功能 #6644

Open
hang333 opened this issue Mar 2, 2025 · 4 comments
Open

[Bug] 仅自带的 Anthropic Provider 支持开启 Thinking 功能 #6644

hang333 opened this issue Mar 2, 2025 · 4 comments
Labels
🐛 Bug Something isn't working | 缺陷

Comments

@hang333
Copy link

hang333 commented Mar 2, 2025

📦 部署环境

Docker

📦 部署模式

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

📌 软件版本

1.67.2

💻 系统环境

Ubuntu

🌐 浏览器

Chrome

🐛 问题描述

Image

只有自带的 anthropic provider 支持开启 claude thinking 功能

Image

自定义 provider (类型选为 anthropic)则没有这个选项

📷 复现步骤

No response

🚦 期望结果

Image

格式为 Anthropic 的自定义服务商应该要支持开启深度思考的功能

📝 补充信息

No response

@hang333 hang333 added the 🐛 Bug Something isn't working | 缺陷 label Mar 2, 2025
@github-project-automation github-project-automation bot moved this to Roadmap - Chat 1.x in Lobe Chat Routine Mar 2, 2025
@lobehubbot
Copy link
Member

👀 @hang333

Thank you for raising an issue. We will investigate into the matter and get back to you as soon as possible.
Please make sure you have given us as much context as possible.
非常感谢您提交 issue。我们会尽快调查此事,并尽快回复您。 请确保您已经提供了尽可能多的背景信息。

Copy link

dosubot bot commented Mar 2, 2025

@hang333 你好!我是Dosu,一个可以帮助您解决错误、回答问题,并成为贡献者的机器人。我在这里帮助您,等待人类维护者。

The issue you're encountering seems to be related to the "deep thinking" feature being available only for built-in Anthropic providers and not for custom ones. To address this, you might want to check the configuration settings for custom Anthropic providers. Specifically, ensure that the "reasoning" configuration is correctly set up to enable the "deep thinking" feature. This configuration is labeled as "Support Deep Thinking" and is described in the locales/en-US/modelProvider.json file:

"reasoning": {
  "extra": "This configuration will enable the model's deep thinking capabilities, and the specific effects depend entirely on the model itself. Please test whether this model has usable deep thinking abilities.",
  "title": "Support Deep Thinking"
}

Make sure that this configuration is applied to your custom Anthropic provider setup. If the configuration is missing or not correctly implemented, it could be the reason why the feature is not available for custom providers [1].

To continue talking to Dosu, mention @dosu.


Help Dosu learn! Give it feedback: Great Response | Irrelevant Answer | Incorrect Sources | Too Verbose | Hallucination | Bug Report | Other

@xaya1001
Copy link

xaya1001 commented Mar 3, 2025

#6596 包括bedrock的版本也无法thinking

@lobehubbot
Copy link
Member

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


#6596 The version including bedrock cannot think

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 Bug Something isn't working | 缺陷
Projects
Status: Roadmap - Chat 1.x
Development

No branches or pull requests

3 participants