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] 腾讯混元AI 点击获取模型列表的时候报错 #5112

Open
lfffffy opened this issue Dec 21, 2024 · 5 comments
Open

[Bug] 腾讯混元AI 点击获取模型列表的时候报错 #5112

lfffffy opened this issue Dec 21, 2024 · 5 comments
Labels
🐛 Bug Something isn't working | 缺陷

Comments

@lfffffy
Copy link

lfffffy commented Dec 21, 2024

📦 部署环境

Docker

📌 软件版本

v1.36.43

💻 系统环境

Windows

🌐 浏览器

Chrome

🐛 问题描述

image
已经确定了APIKey是正常的,连通性检查是正常的。
image

📷 复现步骤

No response

🚦 期望结果

No response

📝 补充信息

No response

@lfffffy lfffffy added the 🐛 Bug Something isn't working | 缺陷 label Dec 21, 2024
@github-project-automation github-project-automation bot moved this to Roadmap - Chat 1.x in Lobe Chat Routine Dec 21, 2024
@lobehubbot
Copy link
Member

👀 @lfffffy

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
Copy link
Member

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


📦 Deployment environment

Docker

📌 Software version

v1.36.43

💻 System environment

Windows

🌐 Browser

Chrome

🐛 Problem description

image
It has been determined that the APIKey is normal and the connectivity check is normal.
image

📷 Steps to reproduce

No response

🚦 Expected results

No response

📝 Supplementary information

No response

Copy link

dosubot bot commented Dec 21, 2024

The error you're encountering when trying to retrieve the model list from Tencent Hunyuan AI, resulting in 404 and 500 HTTP status codes, could be due to several factors. Here are some steps and considerations to help troubleshoot and resolve the issue:

  1. API Endpoint Verification: Ensure that the API endpoint URL is correct. The base URL for Tencent Hunyuan AI should be https://api.hunyuan.cloud.tencent.com/v1 [1].

  2. Request Parameters: Double-check the request parameters in your JSON payload. Ensure that all required fields are correctly specified and that the model name, such as "hunyuan-lite," is valid and available.

  3. Error Handling: Review the error handling mechanisms in your code. The lobe-chat system includes error handling for various HTTP status codes. Ensure that your implementation correctly processes these errors and provides meaningful feedback [2][3].

  4. Debugging and Logging: Utilize the debugging features available in lobe-chat. You can enable debugging for chat completions with Tencent Hunyuan AI by setting the environment variable DEBUG_HUNYUAN_CHAT_COMPLETION to '1'. This will help you trace the requests and identify any issues [1].

  5. Network and Connectivity: Since you've confirmed that the API key and connectivity are normal, ensure there are no network restrictions or firewalls blocking the requests.

  6. Documentation and Support: Although specific documentation for troubleshooting Tencent Hunyuan AI integration wasn't found, reviewing any available documentation or comments in the codebase might provide additional insights.

By following these steps, you should be able to identify and resolve the issue with retrieving the model list from Tencent Hunyuan AI. If the problem persists, consider checking for any updates or changes in the API documentation from Tencent.

To continue talking to Dosu, mention @dosu.


Help Dosu learn! Give it feedback: Great Response | Irrelevant Answer | Incorrect Sources | Too Verbose | Hallucination | Other

@lfffffy
Copy link
Author

lfffffy commented Dec 21, 2024

出错的API 端点是 /webapi/chat/models/hunyuan

@lobehubbot
Copy link
Member

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


The wrong API endpoint is /webapi/chat/models/hunyuan

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

2 participants