-
Notifications
You must be signed in to change notification settings - Fork 59.3k
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
[Feature Request] 智谱清言的api可以填入环境变量OPENAI_API_KEY吗? #5366
Comments
Title: [Feature Request] Can the environment variable OPENAI_API_KEY be filled in for Zhipu Qingyan’s API? 🥰 Description of requirementsCan I not fill in OPENAI_API_KEY, or fill in the api of Zhipu Qingyan? 🧐 SolutionOPENAI_API_KEY is optional, or you can fill in the api of Zhipu Qingyan 📝 Supplementary informationNo response |
教你一招,BASE_URL 填 |
Let me teach you a trick, BASE_URL fill in |
我上面说的就是这个意思,想问这样行不行🤣 |
This is what I said above, I would like to ask if this is okay🤣 |
那确实不行 |
That really doesn't work |
那就难整了,项目官方也没提供这两个模型的环境变量。 |
That would be difficult. The project official did not provide environment variables for these two models. |
那是可以的,我就在用,好多类型都可以塞里面 |
That's okay, I'm using it, many types can be stuffed in it |
我填了那两个环境变量进去发现没有我的模型,是不是要填一下那个CUSTOM_MODELS环境变量来自定义模型名? |
I filled in the two environment variables and found that my model was not there. Do I need to fill in the CUSTOM_MODELS environment variable to customize the model name? |
另外我想问一下glm-4-alltools在这个项目里怎么用?好像要先设置tools,但是项目没有这个设置 |
In addition, I would like to ask how glm-4-alltools is used in this project? It seems that tools need to be set up first, but the project does not have this setting. |
而且这个项目好像不支持上传文件和联网,我是用docker部署的,有没有好的办法?好像可以提供插件支持,但是不太清楚怎么搞 |
Moreover, this project does not seem to support uploading files and networking. I deployed it using docker. Is there any good way? It seems that plug-in support can be provided, but I’m not sure how to do it. |
最新版本已经支持插件啦 |
The latest version already supports plug-ins |
🥰 需求描述
由于我不需要openai的模型,我可以不填OPENAI_API_KEY,或者把智谱清言(chatglm)的api填入吗?
🧐 解决方案
OPENAI_API_KEY为非必填项,或者可以填入智谱清言的api
📝 补充信息
No response
The text was updated successfully, but these errors were encountered: