lobehub / lobe-chat

🤯 Lobe Chat - an open-source, modern-design AI chat framework. Supports Multi AI Providers( OpenAI / Claude 3 / Gemini / Ollama / Azure / DeepSeek), Knowledge Base (file upload / knowledge management / RAG ), Multi-Modals (Vision/TTS) and plugin system. One-click FREE deployment of your private ChatGPT/ Claude application.
https://chat-preview.lobehub.com
Other
40.64k stars 9.25k forks source link

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

Closed ImcwjHere closed 3 months ago

ImcwjHere commented 4 months ago

📝 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 commented 4 months ago

👀 @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 commented 3 months ago

✅ @ImcwjHere

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