-
Notifications
You must be signed in to change notification settings - Fork 59.3k
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] docker下环境变量CUSTOM_MODELS无效,DISABLE_GPT4有效,v2.9.12 #3335
Comments
Title: [Bug] The environment variable CUSTOM_MODELS under docker is invalid, DISABLE_GPT4 is valid, v2.9.12 The environment variable CUSTOM_MODELS under docker is invalid, DISABLE_GPT4 is valid, v2.9.12 |
-e CUSTOM_MODELS=-all,+gpt-3.5-turbo \ is that right? |
I'm having the same problem with the same configuration code. |
尝试使用 CUSTOM_MODELS="-all,+gpt-3.5-turbo" 试试。 |
你怎么解决的?我环境变量哪里设置了-all,+gpt-3.5-turbo-1106 实际上,我每次新建聊天,在窗口底部还是要选一下gpt-3.5-turbo-1106 ,不然就提示错误。鼠标 hover 上去默认的模型还是gpt-3.5-turbo |
How did you solve it? Where do I set the environment variable -all,+gpt-3.5-turbo-1106. In fact, every time I create a new chat, I still have to select gpt-3.5-turbo-1106 at the bottom of the window, otherwise an error will appear. When hovering the mouse, the default model is still gpt-3.5-turbo. |
I deployed it in vercel, and I feel like it will automatically change back next time if I change it like this~ |
You can fork the author's project first, modify the code, and then deploy it to vercel. |
You need to take a look at why these lines of logic don’t take effect: |
-all 这个配置值没生效 |
-all This configuration value does not take effect |
请问一下 CUSTOM_MODELS 修复了吗 |
Could you please tell me if CUSTOM_MODELS has been fixed? |
same issue |
感谢,按照这个搞定了,指定了1106模型,不用每次换设备都要在客户端指定一次模型了 |
Thanks, I solved it according to this. I specified the 1106 model. I don’t need to specify the model on the client every time I change the device. |
这有生效,但似乎chatStore -> Session未更新,详见: |
This works, but it seems that the Session is not updated. For details, see: |
@shaolinah 我有个问题啊,老哥。我如果在这里修改了,我 fork 的库同步上游Yidadaa的库的时候,会不会覆盖这个呢。我是 vercel 部署的。 |
@shaolinah I have a question, bro. If I make changes here, will this be overwritten when my forked library synchronizes with the upstream Yidadaa library. I deployed it with vercel. |
Docker镜像什么时候可以更新呢?似乎编译部署的应用已经不存在此问题了但是Docker镜像仍然存在问题😭 |
When can the Docker image be updated? It seems that this problem no longer exists for compiled and deployed applications, but there is still a problem with the Docker image😭 |
可以暂时先用这个 docker-compose.yml |
You can use this https://github.com/durianice/ChatGPT-Next-Web/blob/main/docker-compose.yml for now |
没冲突不会覆盖吧。 |
If there is no conflict, it will not be covered. |
bug在现版本仍然存在 |
The bug still exists in the current version |
docker下环境变量CUSTOM_MODELS无效,DISABLE_GPT4有效,v2.9.12
The text was updated successfully, but these errors were encountered: