[Question] AI 建议模块 i/o timeout
描述问题 AI建议模块,智能生成SQL一直提示
复现 重现该行为的步骤:
- 点击【AI建议】->选择数据源和db后->点击【智能生成SQL】,提示状态码5555
期望的结果 后续版本可能正常使用
截图
部署方式 二进制部署
环境 (请填写环境信息):
- 操作系统: centos 7
- 浏览器: chrome
- 版本号 :3.1.9
额外的日志信息 [Critical] 2024-11-11 11:25:09 (Yearning-go/src/handler/fetch/chat.go:38) ChatCompletionStream error: Post "https://api.openai.com/v1/chat/completions": dial tcp 74.86.151.162:443: i/o timeout
Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑🤝🧑👫🧑🏿🤝🧑🏻👩🏾🤝👨🏿👬🏿
Title: [Question] AI suggestion module i/o timeout
@lanyue1122 你好!我是Dosu,一个可以帮助你解决bug、回答问题,并成为贡献者的机器人。我会在等待人类维护者的过程中帮助你。
The "i/o timeout" error you're encountering when using the AI suggestion module in Yearning could be due to network connectivity issues between your server and the OpenAI API. Here are a few steps you can take to troubleshoot and potentially resolve this issue:
-
Check Network Connectivity: Ensure that your server has a stable internet connection and can reach the OpenAI API endpoint. You can test this by trying to ping the API server or using tools like
curlto make a simple request to the API. -
Firewall and Proxy Settings: Verify that there are no firewall rules or proxy settings blocking outbound connections to the OpenAI API. If you're using a proxy, ensure it's correctly configured in the Yearning application settings.
-
Increase Timeout Settings: If possible, check if there are any timeout settings in the Yearning application or your network configuration that can be increased to allow more time for the connection to be established.
-
OpenAI API Status: Occasionally, the OpenAI API might experience downtime or issues. Check the OpenAI status page to ensure there are no ongoing incidents affecting the service.
-
Logs and Error Details: Review any additional logs or error messages that might provide more context about the timeout issue. This can help identify if the problem is intermittent or consistent.
If these steps do not resolve the issue, you may need to investigate further into your network setup or consult with your network administrator for more detailed troubleshooting.
To continue talking to Dosu, mention @dosu.
此功能不能用的话,能否自主禁用该模块
Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑🤝🧑👫🧑🏿🤝🧑🏻👩🏾🤝👨🏿👬🏿
If this function cannot be used, can the module be disabled independently?
开发者,是否能够支持国内智普、通义、文心等大模型,提供选择配置
Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑🤝🧑👫🧑🏿🤝🧑🏻👩🏾🤝👨🏿👬🏿
Developers, can they support domestic large models such as Zhipu, Tongyi, Wenxin, etc., and provide optional configurations?