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]can't use a model that specifies a default for direct conversations #5166

Closed
cai417 opened this issue Dec 24, 2024 · 8 comments
Closed
Labels
🐛 Bug Something isn't working | 缺陷

Comments

@cai417
Copy link

cai417 commented Dec 24, 2024

📦 Environment

Docker

📌 Version

v1.36.13

💻 Operating System

Other Linux

🌐 Browser

Edge

🐛 Bug Description

My profile reads as follows,After using docker compose up to start the service,I can't have a conversation directly, I need to manually select the model before I can have a conversation
image
If I don't click on the model, I get an error like this
image
When I click on the model, I can only have a normal conversation
image
The desired effect is that you can talk directly after setting the default model in the configuration file, rather than selecting the model to talk

I tried to add configuration to the config file to fix this issue, the config file reads as follows, but the problem still doesn't work
image
After using docker compose up to start the service, the following error occurs when talking on the front-end page
image
It is still only available after clicking on the model,How can such a problem be solved

📷 Recurrence Steps

No response

🚦 Expected Behavior

No response

📝 Additional Information

No response

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

👀 @cai417

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 Dec 24, 2024

Hey there, @cai417! I'm here to help you with any bugs, questions, or contributions you might have. Let's squash this bug together!

There are a couple of similar issues that might be relevant to your problem:

  1. One issue suggested that a slow first token might be causing a timeout, which could be related to your "ConnectTimeoutError." Adjusting the timeout settings might help resolve this issue [1].

  2. Another issue mentioned problems with switching OpenAI agent parameters in Docker, which might be related to your configuration challenges [2].

To address your specific issue of needing to manually select a model despite setting a default, ensure that your Docker Compose configuration correctly specifies the default model and that all necessary environment variables are set. Double-check that the API keys and any proxy settings are correctly configured and not commented out. If the problem persists, consider reviewing the timeout settings or any logs for additional clues.

To continue talking to Dosu, mention @dosu.


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

@cai417
Copy link
Author

cai417 commented Dec 24, 2024

The configuration is correct because I can have a normal conversation, the problem is that I need to click on the model before the conversation, otherwise there will be an error

@arvinxx
Copy link
Contributor

arvinxx commented Dec 24, 2024

you need to set DEFAULT_AGENT_CONFIG . please check docs and discussion

@arvinxx arvinxx closed this as completed Dec 24, 2024
@github-project-automation github-project-automation bot moved this from Roadmap - Chat 1.x to Done in Lobe Chat Routine Dec 24, 2024
@lobehubbot
Copy link
Member

@cai417

This issue is closed, If you have any questions, you can comment and reply.
此问题已经关闭。如果您有任何问题,可以留言并回复。

@cai417
Copy link
Author

cai417 commented Dec 24, 2024

I've set up DEFAULT_AGENT_CONFIG
image

@lobehubbot
Copy link
Member

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


I've set up DEFAULT_AGENT_CONFIG
image

@arvinxx
Copy link
Contributor

arvinxx commented Dec 24, 2024

qwen. Lowercase

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: Done
Development

No branches or pull requests

3 participants