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/advanced/model-list #2440

Closed
ImcwjHere opened this issue May 9, 2024 · 2 comments · Fixed by #2620
Closed

[Docs] Feedback for self-hosting/advanced/model-list #2440

ImcwjHere opened this issue May 9, 2024 · 2 comments · Fixed by #2620

Comments

@ImcwjHere
Copy link

ImcwjHere commented May 9, 2024

📝 Reference

https://github.com/lobehub/lobe-chat/tree/main/docs/self-hosting/advanced/model-list.zh-CN.mdx

🐛 Feedback

Environment: docker lobehub/lobe-chat:latest (v0.155.9) and Ubutu 20.04.1 LTS

Example command:
docker run -d -p 3210:3210 -e OPENAI_API_KEY=xxxxxx -e OPENAI_PROXY_URL=xxxxxx -e OPENAI_MODEL_LIST="-all,+gpt-4-0125-preview=ChatGPT-4<128000:fc:file>,+gpt-4-turbo-2024-04-09=ChatGPT-4 Vision<128000:fc:vision:file>" --name chat lobehub/lobe-chat

The file upload feature is not actually enabled, and parameter “files”:true does not appear in the “LobeChat-settings-v4.json” file either.

Other functions also don't work properly, for example:
OPENAI_MODEL_LIST=“-all,+gpt-4-0125-preview=ChatGPT-4<8192:file>,+gpt-4-turbo-2024-04-09=ChatGPT-4 Vision<8192:file>”
OPENAI_MODEL_LIST=-all,+gpt-4-0125-preview=ChatGPT-4<8192:file>,+gpt-4-turbo-2024-04-09=ChatGPT-4-Vision<8192:file>
The token, fc, and vision are not modified to the parameters in the command.

Without “” or \ symbols, this error will occur:
Command:
docker run -d -p 3210:3210 -e OPENAI_API_KEY=xxxxxx -e OPENAI_PROXY_URL=xxxxxx -e OPENAI_MODEL_LIST=-all,+gpt-4-0125-preview=ChatGPT-4<8192:file>,+gpt-4-turbo-2024-04-09=ChatGPT-4 Vision<8192:file> --name chat lobehub/lobe-chat
Error:
-bash: 8192:file: No such file or directory

@lobehubbot
Copy link
Member

👀 @ImcwjHere

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

@lobehubbot
Copy link
Member

@ImcwjHere

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants