-
Notifications
You must be signed in to change notification settings - Fork 60k
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] The environment variable DEFAULT_MODEL configuration is invalid #5947
Comments
Title: [Bug] The environment variable DEFAULT_MODEL configuration is invalid |
同样的问题,DEFAULT_MODEL 和CUSTOM_MODELS 配置不起作用。我自己本地设置了DEFAULT_MODEL = qwen-turbo |
Same problem, DEFAULT_MODEL and CUSTOM_MODELS configurations don't work. I set DEFAULT_MODEL = qwen-turbo locally myself |
我的是因为配置文件后面的空值DEFAULT_MODEL覆盖了前面的DEFAULT_MODEL 。 而且DEFAULT_MODEL 需要这样设置+qwen-coder-turbo@Alibaba |
Mine is because the empty value DEFAULT_MODEL at the end of the configuration file overwrites the previous DEFAULT_MODEL. And DEFAULT_MODEL needs to be set like this +qwen-coder-turbo@Alibaba |
📦 Deployment Method
Vercel
📌 Version
v2.15.8
💻 Operating System
Other
📌 System Version
vercel
🌐 Browser
Chrome
📌 Browser Version
131.0.6778.140
🐛 Bug Description
配置了环境变量DEFAULT_MODEL=gpt-3.5-turbo@OpenAi ,发现不生效。
看来源码,是有处理的。
最后定位到这里,发现是接口返回数据并没有写入。所以取数据还是默认值gpt-4o-mini
📷 Recurrence Steps
No response
🚦 Expected Behavior
No response
📝 Additional Information
No response
The text was updated successfully, but these errors were encountered: