-
-
Notifications
You must be signed in to change notification settings - Fork 11.4k
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] DEFAULT_AGENT_CONFIG无法生效 #5699
Comments
📦 deployment environmentDocker 📌 Software versionv1.49.15 💻 System environmentWindows 🌐 browserChrome 🐛 Problem descriptionSet ! [Image] (https://github.com/user-attachments/9cb9e69b-59ce-414e5-72570F48d)) But if the Model and Provider exchange positions, the new user can see the model as deepseek 📷 Reapped stepsAs above 🚦 expectation resultCorrectly handle environmental variables 📝 Supplement information_NO Response |
Thank you for raising an issue. We will investigate into the matter and get back to you as soon as possible. |
@Ironboxplus Hello there! I'm here to help you with any bugs, questions, or contributions. Let's get this issue sorted out together while we wait for a human maintainer. I found a similar closed issue regarding the To address your issue, make sure the DEFAULT_AGENT_CONFIG='{"model":"deepseek-ai/DeepSeek-R1","provider":"siliconcloud"}' Ensure that the configuration is a valid JSON string or formatted as key-value pairs. Additionally, verify that all other related environment variables are set correctly and that the Docker configuration is properly handling these variables. If the problem persists, consider checking the parsing logic in the LobeChat codebase to ensure it aligns with your configuration format [2]. To continue talking to Dosu, mention @dosu. Help Dosu learn! Give it feedback: Great Response | Irrelevant Answer | Incorrect Sources | Too Verbose | Hallucination | Other |
update: |
Update: |
📦 部署环境
Docker
📌 软件版本
v1.49.15
💻 系统环境
Windows
🌐 浏览器
Chrome
🐛 问题描述
当设定
的时候,打开网站,默认为:
但是如果将model和provider交换位置,则新用户可看到模型为deepseek 的
但是此时对话,仍然会提示输入openai的apikey,除非手动选择deepseek模型
全部环境变量:
📷 复现步骤
如上
🚦 期望结果
正确处理环境变量
📝 补充信息
No response
The text was updated successfully, but these errors were encountered: