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] v1.45.5版本环境变量部分不生效 #5380

Closed
mildnes opened this issue Jan 10, 2025 · 9 comments · Fixed by #5350
Closed

[Bug] v1.45.5版本环境变量部分不生效 #5380

mildnes opened this issue Jan 10, 2025 · 9 comments · Fixed by #5350
Labels
🐛 Bug Something isn't working | 缺陷 released

Comments

@mildnes
Copy link

mildnes commented Jan 10, 2025

📦 部署环境

Docker

📌 软件版本

v1.45.5

💻 系统环境

Ubuntu

🌐 浏览器

Edge

🐛 问题描述

使用docker compose方式部署,升级到了最新的版本,环境变量文件里面配置的部分参数不生效了。
具体:
OPENAI_MODEL_LIST=-all,+llama-3.3-70b-versatile,llama-3.3-70b-specdec,llama-3.2-90b-vision-preview,qwen2.5:1.5b,qwen2.5:7b,qwen2.5:14b,llama2-chinese:13b,llamafamily/llama3-chinese-8b-instruct:latest,genaiprompt:latest,deepseek-chat,deepseek-coder,moonshot-v1-8k,moonshot-v1-32k,moonshot-v1-128k,llama-3.1-8b-instant,text-embedding-3-small,Doubao-pro-32k,Doubao-pro-128k,Doubao-lite-128k,Doubao-pro-256k,Doubao-vision-pro-32k,Doubao-vision-lite-32k

GITHUB_MODEL_LIST=-all,+gpt-4o,+gpt-4o-mini

网页模型服务商,不像之前版本只有对应的模型了

📷 复现步骤

No response

🚦 期望结果

No response

📝 补充信息

No response

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

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


📦 Deployment environment

Docker

📌 Software version

v1.45.5

💻 System environment

Ubuntu

🌐 Browser

Edge

🐛 Problem description

Deployed using docker compose and upgraded to the latest version, some parameters configured in the environment variable file no longer take effect.
specific:
OPENAI_MODEL_LIST=-all,+llama-3.3-70b-versatile,llama-3.3-70b-specdec,llama-3.2-90b-vision-preview,qwen2.5:1.5b, qwen2.5:7b,qwen2.5:14b,llama2-chinese:13b,llamafamily/llama3-chinese-8b-instruct:latest,genaiprompt:latest,deeps eek-chat,deepseek-coder,moonshot-v1-8k,moonshot-v1-32k,moonshot-v1-128k,llama-3.1-8b-instant,text-embedding-3-sm all,Doubao-pro-32k,Doubao-pro-128k,Doubao-lite-128k,Doubao-pro-256k,Doubao-vision-pro-32k,Doubao-vision-lite-32k

GITHUB_MODEL_LIST=-all,+gpt-4o,+gpt-4o-mini

Web model service provider, unlike the previous version, which only has corresponding models.

📷 Steps to reproduce

No response

🚦 Expected results

No response

📝 Supplementary information

No response

@lobehubbot
Copy link
Member

👀 @mildnes

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 Jan 10, 2025

@mildnes Hello! I'm here to help you with bugs, questions, and becoming a contributor. Let's squash this bug together!

I found a similar issue related to environment variables not working in Docker deployments. In version 1.45.5, environment variables like OPENAI_MODEL_LIST and GITHUB_MODEL_LIST are not being properly enforced in Docker deployments. This issue has been acknowledged by the development team, and they plan to address it in the future. However, there is currently no documented workaround available [1].

To continue talking to Dosu, mention @dosu.


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

@SpeedupMaster
Copy link
Contributor

#5350
等修复

@lobehubbot
Copy link
Member

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


#5350
Waiting for repair

@mildnes
Copy link
Author

mildnes commented Jan 10, 2025

好的,感谢!

@mildnes mildnes closed this as completed Jan 10, 2025
@github-project-automation github-project-automation bot moved this from Roadmap - Chat 1.x to Done in Lobe Chat Routine Jan 10, 2025
@lobehubbot
Copy link
Member

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


OK, thanks!

@lobehubbot
Copy link
Member

@mildnes

This issue is closed, If you have any questions, you can comment and reply.
此问题已经关闭。如果您有任何问题,可以留言并回复。

@lobehubbot
Copy link
Member

🎉 This issue has been resolved in version 1.45.6 🎉

The release is available on:

Your semantic-release bot 📦🚀

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

Successfully merging a pull request may close this issue.

3 participants