OpenAI 接口管理 & 分发系统,支持 Azure、Anthropic Claude、Google PaLM 2 & Gemini、智谱 ChatGLM、百度文心一言、讯飞星火认知、阿里通义千问、360 智脑以及腾讯混元,可用于二次分发管理 key,仅单可执行文件,已打包好 Docker 镜像,一键部署,开箱即用. OpenAI key management & redistribution system, using a single API for all LLMs, and features an English UI.
例行检查
问题描述 基本上现在是失败一次,过几分钟成功一次,过几分钟又失败一次。。。。 报错: { "error": { "message": "do request failed: Post \"https://timye.openai.azure.com/openai/deployments/gpt-35-turbo/chat/completions?api-version=2024-02-01\": dial tcp: lookup timye.openai.azure.com on 127.0.0.11:53: no such host (request id: 2024060423520828503329587692701)", "type": "one_api_error", "param": "", "code": "do_request_failed" } }
oneapi容器日志没有其他异常:
[ERR] 2024/06/04 - 23:35:37 | 2024060423353725868674440005909 | relay error (channel id 1, user id: 1): do request failed: Post "https://timye.openai.azure.com/openai/deployments/gpt-35-turbo/chat/completions?api-version=2024-02-01": dial tcp: lookup timye.openai.azure.com on 127.0.0.11:53: no such host (request id: 2024060423353725868674440005909) [INFO] 2024/06/04 - 23:35:38 | 2024060423353881258824033554203 | user 1 has enough quota 499999998506883, trusted and no need to pre-consume [ERR] 2024/06/04 - 23:35:38 | 2024060423353881258824033554203 | DoRequest failed: do request failed: Post "https://timye.openai.azure.com/openai/deployments/gpt-35-turbo/chat/completions?api-version=2024-02-01": dial tcp: lookup timye.openai.azure.com on 127.0.0.11:53: server misbehaving [GIN] 2024/06/04 - 23:35:38 | 2024060423353881258824033554203 | 500 | 88.396933ms | 172.22.0.1 | POST /v1/chat/completions [ERR] 2024/06/04 - 23:35:38 | 2024060423353881258824033554203 | relay error (channel id 1, user id: 1): do request failed: Post "https://timye.openai.azure.com/openai/deployments/gpt-35-turbo/chat/completions?api-version=2024-02-01": dial tcp: lookup timye.openai.azure.com on 127.0.0.11:53: server misbehaving (request id: 2024060423353881258824033554203) [SYS] 2024/06/04 - 23:35:41 | batch update started [SYS] 2024/06/04 - 23:35:41 | batch update finished [SYS] 2024/06/04 - 23:35:51 | batch update started [SYS] 2024/06/04 - 23:35:51 | batch update finished [SYS] 2024/06/04 - 23:36:01 | batch update started
复现步骤
预期结果