-
-
Notifications
You must be signed in to change notification settings - Fork 10k
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
[Question] 能通过环境变量指定默认助手的模型吗? #782
Comments
🧐 Problem Description | Proposed SolutionHello, can I specify the default assistant model through environment variables? Thank you so much! ! 📝 Additional Information |No response |
👀 @crabkun Thank you for raising an issue. We will investigate into the matter and get back to you as soon as possible. |
@arvinxx 我尝试了一下,似乎不是仅仅 gpt-3.5-turbo 模型有此问题,而是整个 CUSTOM_MODELS 对于移除模型(-)的解析是错的: 命令已经设置移除 gpt-4 模型: 但是还是会显示(且能使用): 不过,模型重命名是对的。 我更换了几个其他的模型名,均可复现。 |
@zhuozhiyongde 这个需求和默认助手模型没关系哈。看了下是 |
@zhuozhiyongde This requirement has nothing to do with the default assistant model. After looking at it, there is something wrong with the deletion logic of the |
好的,我空了看看,最近在旅游 |
hhh 猜到了,大佬们辛苦啦! |
Okay, I'll take a look. I'm traveling recently. |
hhh I guessed it, thank you guys for your hard work! |
我顺手修了 |
I fixed it easily |
@crabkun 研究了下修改默认助手的配置可能还不一定好改。我要回头想想怎么做才好做… |
@crabkun After researching, changing the configuration of the default assistant may not necessarily be easy. I have to look back and think about how to do it better... |
在 #913 跟进 |
✅ @crabkun This issue is closed, If you have any questions, you can comment and reply. |
🎉 This issue has been resolved in version 0.128.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
🧐 问题描述 | Proposed Solution
你好,请问能通过环境变量指定默认助手的模型吗?
目前默认是gpt-3.5-turbo,即使通过CUSTOM_MODELS环境变量从模型列表中删掉gpt-3.5-turbo,默认助手还是gpt-3.5-turbo模型。
能否新增环境变量指定默认模型,或者直接读取模型列表中的第一个模型呢?
主要是想分享给朋友,他打开就能直接使用gpt-4-1106-preview,不用去指导他如何切换模型以及介绍每个模型的区别。
非常感谢!!
📝 补充信息 | Additional Information
No response
The text was updated successfully, but these errors were encountered: