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

[Bug] 请问获取不了模型列表的原因?求解答 #4300

Open
wcabc007 opened this issue Oct 9, 2024 · 4 comments
Open

[Bug] 请问获取不了模型列表的原因?求解答 #4300

wcabc007 opened this issue Oct 9, 2024 · 4 comments
Labels
🐛 Bug Something isn't working | 缺陷

Comments

@wcabc007
Copy link

wcabc007 commented Oct 9, 2024

📦 部署环境

Vercel, Docker

📌 软件版本

v1.21.8

💻 系统环境

Other Linux

🌐 浏览器

Edge, Firefox

🐛 问题描述

如题,通过部署one-api获取的令牌和代理地址,不知为何无法在Lobe-chat里获取模型列表?连通性检查是通过的。

📷 复现步骤

No response

🚦 期望结果

No response

📝 补充信息

No response

@wcabc007 wcabc007 added the 🐛 Bug Something isn't working | 缺陷 label Oct 9, 2024
@lobehubbot
Copy link
Member

👀 @wcabc007

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

Copy link

dosubot bot commented Oct 9, 2024

@wcabc007 你好!我是Dosu,一个可以帮助解决 bug、回答问题,并且成为贡献者的机器人。我会在等待人类维护者时为你提供帮助。

I found some relevant discussions and issues that might help:

  1. 使用docker进阶部署后,env中的apikey和proxyurl失效: This discussion mentions issues with API keys and proxy URLs, suggesting to ensure the correct environment variable names are used, like OPENAI_API_KEY instead of OPEANAI_API_KEY [1].

  2. 代理服务器地址填了聊天没任何反应: This discussion highlights the importance of correctly setting the proxy URL, especially regarding the /v1 path [2].

  3. [Bug] 用代理地址和APIkey输入问题后回答为空]([Bug] 用代理地址和APIkey输入问题后回答为空 #1494): This closed issue suggests checking if /v1 is added after the proxy address [3].

Ensure your proxy URL is correctly configured with the /v1 path if needed, and verify that your API key is set correctly in the environment variables.

To continue talking to Dosu, mention @dosu.

@Zoumachuan
Copy link
Contributor

图呢?
你检查一下是不是没有在环境变量里添加模型之类的

@lobehubbot
Copy link
Member

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


Where's the picture?
Check whether you have added the model to the environment variables or something like that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 Bug Something isn't working | 缺陷
Projects
Status: Roadmap - Chat 1.x
Development

No branches or pull requests

3 participants