You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey @long-hands, I'm here to help you with any bugs, questions, or contributions. Let's tackle this issue together!
I found a similar discussion that might be relevant to your issue: 为什么每次执行agent都会自动调用 这两个接口POST /v1/chat/completions HTTP/1.1[1]. This discussion addresses unexpected calls to the OpenAI API, which seems similar to your situation where you're experiencing connection errors despite not using OpenAI.
To resolve this, you might want to check your configuration settings to ensure that the correct model is being used. You can configure Langchain-Chatchat to use a specific language model by modifying the model configuration using the chatchat-config command. Make sure that the model inference framework is running and the required models are loaded. You can set the model platforms and specify the models you want to use with a command like:
chatchat-config model --set_model_platforms "[{\"platform_name\": \"your_platform_name\",\"platform_type\": \"your_platform_type\",\"api_base_url\": \"http://your_api_base_url\",\"llm_models\": [\"your_model_name\" ]}]"
Verify your configuration with:
chatchat-config model --show
Additionally, ensure that the CHATCHAT_PROXY_URL in your .env file is correctly set to point to your intended service URL, not the OpenAI endpoint [2].
报错:INFO: 127.0.0.1:40600 - "POST /chat/chat/completions HTTP/1.1" 200 OK
2024-12-30 13:57:43,327 httpx 36435 INFO HTTP Request: POST http://127.0.0.1:7861/chat/chat/completions "HTTP/1.1 200 OK"
2024-12-30 13:57:43,330 openai._base_client 36383 INFO Retrying request to /chat/completions in 0.387410 seconds
2024-12-30 13:57:43,720 openai._base_client 36383 INFO Retrying request to /chat/completions in 0.801640 seconds
2024-12-30 13:57:44.523 | ERROR | chatchat.server.api_server.openai_routes:generator:105 - openai request error: Connection error.
最后一行这是什么情况,我也没有调用OPENAI啊,我用的是国产大模型
The text was updated successfully, but these errors were encountered: