labring / FastGPT

FastGPT is a knowledge-based platform built on the LLMs, offers a comprehensive suite of out-of-the-box capabilities such as data processing, RAG retrieval, and visual AI workflow orchestration, letting you easily develop and deploy complex question-answering systems without the need for extensive setup or configuration.
https://tryfastgpt.ai
Other
17.51k stars 4.7k forks source link

The chatgpt-on-wechat log always prompts to use OpenAI instead of FastGPT application Q&A #848

Closed ChanLicher closed 7 months ago

ChanLicher commented 8 months ago

例行检查

你的版本

问题描述 docker部署,按照文档配置,对话老是使用 OpenAI,而不是使用FastGPT的应用问答 复现步骤

预期结果

[INFO][2024-02-14 00:37:17][bridge.py:51] - create bot chatGPT for chat
[INFO][2024-02-14 00:37:17][chat_gpt_bot.py:49] - [CHATGPT] query=你好
[WARNING][2024-02-14 00:37:19][chat_gpt_bot.py:145] - [CHATGPT] Bad Gateway: Invalid response object from API: '{"code":500,"statusText":"","message":"当前分组 svip 下对于模型 gpt-3.5-turbo-1106 无可用渠道 (request id: 20240213193719884717644dVaVmgyZ)","data":null}' (HTTP response code was 500)
[WARNING][2024-02-14 00:37:29][chat_gpt_bot.py:160] - [CHATGPT] 第1次重试
[WARNING][2024-02-14 00:37:31][chat_gpt_bot.py:145] - [CHATGPT] Bad Gateway: Invalid response object from API: '{"code":500,"statusText":"","message":"当前分组 svip 下对于模型 gpt-3.5-turbo-1106 无可用渠道 (request id: 20240213193731199940673Nh0rqdU8)","data":null}' (HTTP response code was 500)
[WARNING][2024-02-14 00:37:41][chat_gpt_bot.py:160] - [CHATGPT] 第2次重试
[WARNING][2024-02-14 00:37:42][chat_gpt_bot.py:145] - [CHATGPT] Bad Gateway: Invalid response object from API: '{"code":500,"statusText":"","message":"当前分组 svip 下对于模型 gpt-3.5-turbo-1106 无可用渠道 (request id: 202402131937424883115067gW79lJM)","data":null}' (HTTP response code was 500)
[INFO][2024-02-14 00:37:44][wechat_channel.py:217] - [WX] sendMsg=Reply(type=ERROR, content=[ERROR]
请再问我一次), receiver=@eff7d71f0f4586189c0c05992bc3b0f89b83cbdfd729e9fa0aae4be33045087c

相关截图

c121914yu commented 8 months ago

你确定这不是 fastgpt 请求 openai?

ChanLicher commented 8 months ago

你确定这不是 fastgpt 请求 openai?

我可能没表达清楚,我就是填写的fastgpt,完全是按照fastgpt给的教程部署的。按理它不该调用openai了,但是还是一直调用

ChanLicher commented 8 months ago

我的docker compose文件是完全按照教程修改的,我不明白为什么不去调用我创建的应用

c121914yu commented 8 months ago

不懂,这是 oneapi 的报错,提示你没渠道。没看到 fastgpt 相关的内容,

ChanLicher commented 8 months ago

唉,我再试试吧

c121914yu commented 7 months ago

凡事有requestId的都属于已经调用,OneAPI,但是OneAPI提示错误。可以通过Curl检查OneAPI是否正常。