Closed zhangleijun111 closed 5 months ago
👀 @zhangleijun111
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。我们会尽快调查此事,并尽快回复您。 请确保您已经提供了尽可能多的背景信息。
Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑🤝🧑👫🧑🏿🤝🧑🏻👩🏾🤝👨🏿👬🏿
🥰 Description of requirements
The URLs and keys of various large models are directly configured in the docker deployment lobechat, and the user can start the web page and use it directly.
Please help me look into this problem. My current command is docker container run -d -p 3210:3210 -e OPENAI_API_KEY=hk -e OPEN_PROXY_URL=https -e OLLAMA_PROXY_URL=http -e Zhipu_API_KEY=e9jnAw2U5 -e ACCESS_CODE=lobe66 --name lobe-chat lobehub/lobe-chat:latest However, these large model data still need to be filled in manually at startup.
@zhangleijun111 如果在部署时没报错,那部署后的模型页面是不显示后台部署的信息的,你试一下直接在你填写正确api key那个模型那里,点连通性检查,如果显示检查通过,那就没问题了,如果报错,要看看具体报错信息是什么
Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑🤝🧑👫🧑🏿🤝🧑🏻👩🏾🤝👨🏿👬🏿
@zhangleijun111 If no error is reported during deployment, the deployed model page will not display the background deployment information. Try clicking the connectivity check directly in the model where you filled in the correct api key. If it shows that the check passed, then No problem. If an error is reported, check the specific error message.
如果我不想修改功能只想修改一下Ui界面知道怎么修改哪个文件发
Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑🤝🧑👫🧑🏿🤝🧑🏻👩🏾🤝👨🏿👬🏿
If I don’t want to modify the function, I just want to modify the UI interface. Do you know how to modify which file to send?
好好看看文档。你的环境变量写错了
Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑🤝🧑👫🧑🏿🤝🧑🏻👩🏾🤝👨🏿👬🏿
Take a good look at the documentation. Your environment variables are written incorrectly
✅ @zhangleijun111
This issue is closed, If you have any questions, you can comment and reply.\ 此问题已经关闭。如果您有任何问题,可以留言并回复。
那你应该看官方的Development Guide
🥰 需求描述
各种大模型的url和key在docker部署lobechat中直接配置进去,用户启动网页直接使用即可
🧐 解决方案
麻烦帮忙看看这个问题,我现在的命令是 docker container run -d -p 3210:3210 -e OPENAI_API_KEY=hk -e OPEN_PROXY_URL=https -e OLLAMA_PROXY_URL=http -e Zhipu_API_KEY=e9jnAw2U5 -e ACCESS_CODE=lobe66 --name lobe-chat lobehub/lobe-chat:latest 但是启动时这些大模型数据还是要手工填入
📝 补充信息