Closed zhangleijun111 closed 4 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. 👯👭🏻🧑🤝🧑👫🧑🏿🤝🧑🏻👩🏾🤝👨🏿👬🏿
📦 Deployment environment
7.9
-[X]Chrome
How to configure environment variables so that when the lobchat container is started for the first time, only the model of Zhipu AI can be seen, and no other models can be seen, like this in the picture
How to configure environment variables so that when the lobchat container is started for the first time, only the model of Zhipu AI can be seen, and no other models can be seen.
How to configure environment variables so that when the lobchat container is started for the first time, only the model of Zhipu AI can be seen, and no other models can be seen.
No response
参考:https://lobehub.com/zh/docs/self-hosting/environment-variables/model-provider 可尝试添加下述 env。
ENABLED_OPENAI=0 ENABLED_OLLAMA=0
Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑🤝🧑👫🧑🏿🤝🧑🏻👩🏾🤝👨🏿👬🏿
Reference: https://lobehub.com/zh/docs/self-hosting/environment-variables/model-provider You can try adding the following env.
ENABLED_OPENAI=0 ENABLED_OLLAMA=0
Bot检测到问题主体的语言不是英语,自动翻译它。👯👭🏻🧑🤝🧑👫🧑🏿🤝🧑🏻👩🏾🤝👨🏿👬🏿
参考:https://lobe hub . com/zh/docs/self-hosting/environment-variables/model-provider您可以尝试添加以下env。
ENABLED_OPENAI=0ENABLED_OLLAMA=0
是否有环境变量吧智谱AI打开并且把KEY默认填入
Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑🤝🧑👫🧑🏿🤝🧑🏻👩🏾🤝👨🏿👬🏿
Bot detects that the language of the question subject is not English and automatically translates it. 👯👭🏻🧑🤝🧑👫🧑🏿🤝🧑🏻👩🏾🤝👨🏿👬🏿
Reference: [https://lobe hub . com/zh/docs/self-hosting/environment-variables/model-provider](https://lobehub.com/zh/docs/self-hosting/environment-variables/ model-provider) you can try adding the following env.
ENABLED_OPENAI=0ENABLED_OLLAMA=0
Is there any environment variable? Open Zhipu AI and fill in the KEY by default.
是否有环境变量吧智谱AI打开并且把KEY默认填入
ZHIPU_API_KEY=''
https://lobehub.com/zh/docs/self-hosting/environment-variables/model-provider#zhipu-api-key
Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑🤝🧑👫🧑🏿🤝🧑🏻👩🏾🤝👨🏿👬🏿
Is there any environment variable? Open Zhipu AI and fill in the KEY by default.
ZHIPU_API_KEY=''
https://lobehub.com/zh/docs/self-hosting/environment-variables/model-provider#zhipu-api-key
机器人程序检测到问题主体的语言不是英语,自动翻译它。👯👭🏻🧑🤝🧑👫🧑🏿🤝🧑🏻👩🏾🤝👨🏿👬🏿
有什么环境变量吗?打开智普AI,默认填钥匙。
ZHIPU_API_KEY= ' '
https://lobe hub . com/zh/docs/self-hosting/environment-variables/model-provider # zhipu-API-key
没有办法默认打开只能通过配置环境变量输入密钥操作是嘛,开关还是需要手动的???
Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑🤝🧑👫🧑🏿🤝🧑🏻👩🏾🤝👨🏿👬🏿
The robot program detects that the language of the subject of the question is not English and automatically translates it. 👯👭🏻🧑🤝🧑👫🧑🏿🤝🧑🏻👩🏾🤝👨🏿👬🏿
Are there any environment variables? Open Zhipu AI and fill in the key by default.
ZHIPU_API_KEY= ' '
[https://lobe hub . com/zh/docs/self-hosting/environment-variables/model-provider # zhipu-API-key](https://lobehub.com/zh/docs/self-hosting/ environment-variables/model-provider#zhipu-api-key)
There is no way to turn it on by default. You can only enter the key operation by configuring environment variables. Does the switch still need to be done manually? ? ?
可以先试试看,如果没有自动展示智谱AI模型再回复,我去看看能否提个pr。
Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑🤝🧑👫🧑🏿🤝🧑🏻👩🏾🤝👨🏿👬🏿
You can give it a try first. If the AI model is not displayed automatically before replying, I will see if I can submit a PR.
Bot检测到问题正文的语言不是英语,请自动翻译。👯👭🏻🧑🤝🧑👫🧑🏿🤝🧑🏻👩🏾🤝👨🏿👬🏿
可以先试一试。如果AI模型在回复前没有自动显示,我会看看是否可以提交PR。
我的环境变量配置zhipukey,容器第一次启动页打开了,但是检查通过不了,但是我讲key手动填入是可以的,这是为什么呢???
Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑🤝🧑👫🧑🏿🤝🧑🏻👩🏾🤝👨🏿👬🏿
Bot has detected that the language of the question text is not English, please automatically translate it. 👯👭🏻🧑🤝🧑👫🧑🏿🤝🧑🏻👩🏾🤝👨🏿👬🏿
You can try it first. If the AI model doesn't show up automatically before replying, I'll see if I can submit a PR.
My environment variables are configured in zhipukey. The container startup page opens for the first time, but the check fails. However, I said that it is OK to fill in the key manually. Why is this? ? ?
环境变量名是全大写的,ZHIPU_API_KEY。
Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑🤝🧑👫🧑🏿🤝🧑🏻👩🏾🤝👨🏿👬🏿
The environment variable name is in all uppercase letters, ZHIPU_API_KEY.
Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑🤝🧑👫🧑🏿🤝🧑🏻👩🏾🤝👨🏿👬🏿
The environment variable name is in all uppercase letters, ZHIPU_API_KEY.
我改成了大写还是不行为什么呢
能给出更多信息吗,这边测试是没问题的。
另外可以关一下重复的 issue:#2825
Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑🤝🧑👫🧑🏿🤝🧑🏻👩🏾🤝👨🏿👬🏿
Can you give more information? There is no problem in testing here.
In addition, you can close the duplicate issue: #2825
Bot检测到问题正文的语言不是英语,请自动翻译。👯👭🏻🧑🤝🧑👫🧑🏿🤝🧑🏻👩🏾🤝👨🏿👬🏿
你能提供更多信息吗?在这里测试没有问题。
此外,您可以关闭重复的问题:#2825
可以了而且智普的开关也自动打开了谢谢!,麻烦问下上传文档的功能大概多久才会有啊
Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑🤝🧑👫🧑🏿🤝🧑🏻👩🏾🤝👨🏿👬🏿
Bot has detected that the language of the question text is not English, please automatically translate it. 👯👭🏻🧑🤝🧑👫🧑🏿🤝🧑🏻👩🏾🤝👨🏿👬🏿
Can you provide more information? No problem testing here.
Additionally, you can close duplicate issues: #2825
It’s ok and the smart switch is automatically turned on. Thank you! , please ask how long it will take for the function of uploading documents to be available.
或许这个月底?我也很期待文件上传能早日实装。
Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑🤝🧑👫🧑🏿🤝🧑🏻👩🏾🤝👨🏿👬🏿
Maybe the end of this month? I'm also looking forward to the early implementation of file upload.
麻烦问下上传文档的功能大概多久才会有啊
这个月中开始做,快的话月底上。
Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑🤝🧑👫🧑🏿🤝🧑🏻👩🏾🤝👨🏿👬🏿
Could you please tell me how long it will take for the function of uploading documents to be available?
Start working on it in the middle of this month and finish it by the end of the month if possible.
✅ @zhangleijun111
This issue is closed, If you have any questions, you can comment and reply.\ 此问题已经关闭。如果您有任何问题,可以留言并回复。
📦 部署环境
📌 软件版本
7.9
💻 系统环境
🌐 浏览器
🐛 问题描述
如何通过配置环境变量让lobchat容器第一次启动打开的时候只能看到智谱AI的模型,看不到其他模型,像图片上这个样子
📷 复现步骤
如何通过配置环境变量让lobchat容器第一次启动打开的时候只能看到智谱AI的模型,看不到其他模型
🚦 期望结果
如何通过配置环境变量让lobchat容器第一次启动打开的时候只能看到智谱AI的模型,看不到其他模型
📝 补充信息
No response