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] 图片对话时报错 #4742

Open
zeno980 opened this issue Nov 20, 2024 · 6 comments
Open

[Bug] 图片对话时报错 #4742

zeno980 opened this issue Nov 20, 2024 · 6 comments
Labels
🐛 Bug Something isn't working | 缺陷

Comments

@zeno980
Copy link

zeno980 commented Nov 20, 2024

📦 Environment

Docker

📌 Version

1.31.6

💻 Operating System

Other

🌐 Browser

Edge

🐛 Bug Description

图片对话时报错

{
  "error": {
    "code": "count_token_messages_failed",
    "type": "new_api_error",
    "param": "",
    "message": "请求上游地址失败 (request id: 20241120180945908210128xMJBEJ9E)"
  },
  "endpoint": "https://xi****ai.plus/v1",
  "provider": "openai"
}

📷 Recurrence Steps

PixPin_2024-11-20_18-15-23

🚦 Expected Behavior

No response

📝 Additional Information

No response

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

👀 @zeno980

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 Nov 20, 2024

I couldn't find specific information about the 'count_token_messages_failed' error code in the lobe-chat framework. However, there is a similar discussion that might be relevant: 连接性检查,无相应。, where updating to the latest version resolved the issue [1].

For the error you're encountering, it might be helpful to check if you're using the latest version of the framework. Additionally, ensure that your API key and proxy settings are correctly configured, as these can often lead to errors when interacting with the OpenAI API [2]. If the issue persists, reviewing the error handling mechanisms in place for API request failures might provide further insights [3].

To continue talking to Dosu, mention @dosu.

@arvinxx
Copy link
Contributor

arvinxx commented Nov 20, 2024

是部署的哪个版本

@lobehubbot
Copy link
Member

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


Which version is deployed?

@zeno980
Copy link
Author

zeno980 commented Nov 20, 2024

是部署的哪个版本

1.31.6 docker compose部署

@lobehubbot
Copy link
Member

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


Which version is deployed?

1.31.6 docker compose deployment

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