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

[Docs] Feedback for self-hosting/server-database/docker-compose #5373

Open
obsuze opened this issue Jan 9, 2025 · 4 comments · May be fixed by #5350
Open

[Docs] Feedback for self-hosting/server-database/docker-compose #5373

obsuze opened this issue Jan 9, 2025 · 4 comments · May be fixed by #5350
Labels
📝 Documentation Improvements or additions to documentation | 文档问题

Comments

@obsuze
Copy link

obsuze commented Jan 9, 2025

📝 Reference

https://github.com/lobehub/lobe-chat/tree/main/docs/self-hosting/server-database/docker-compose.zh-CN.mdx

🐛 Feedback

普通版本中docker-compose中设置的变量environment的model_list,在数据库版本无法生效,apikey什么的配着都没问题,能在网页中直接调用对应模型,但是model list不是按照我设置的来的

@lobehubbot
Copy link
Member

👀 @obsuze

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。我们会尽快调查此事,并尽快回复您。 请确保您已经提供了尽可能多的背景信息。

@dosubot dosubot bot added the 📝 Documentation Improvements or additions to documentation | 文档问题 label Jan 9, 2025
Copy link

dosubot bot commented Jan 9, 2025

Hey @obsuze! I'm here to help you with any bugs, questions, or contributions you have for Lobe Chat documentation. Let's tackle this issue together!

I found a similar open issue related to the model_list environment variable not functioning as expected. The suggested solution includes:

  1. Check OPENAI_PROXY_URL Configuration: Ensure that the OPENAI_PROXY_URL environment variable is set correctly, including the /v1 suffix if required.

  2. Authorization Header: Verify that the Authorization header is correctly set with the Bearer token when fetching models.

  3. Base URL Configuration: Ensure that the baseURL is correctly configured to point to the proxy URL.

  4. Model Handling: Ensure the models function handles the response properly and filters the models as needed.

Additionally, ensure that your MinIO S3 configuration is correct for file upload errors in the knowledge base. Follow the steps to access MinIO WebUI, create a bucket, set a custom policy, and create an access key. After making these changes, restart the LobeChat service using docker compose up -d [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

@arvinxx arvinxx linked a pull request Jan 9, 2025 that will close this issue
8 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
📝 Documentation Improvements or additions to documentation | 文档问题
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants