Open littlemousehao opened 9 months ago
建议用curl在本机跑下,或者获取下输入输出的数据,oneapi是支持fastgpt的api的,从描述中看不出是oneapi的问题,更多可能是你网络的问题。
我都是安装在一个电脑端啊,用localhost:13000可以访问one API,用localhost:3000可以访问fast GPT,该配置的地方都配置了,但操作fast GPT对话时就是提示网络错误。
同时one API对千帆模型无法测试连接
最好能贴出来日志,先看一下 one api 有没有获取到对应的请求
one API需要连外网 而且要翻墙
例行检查
问题描述 使用本机one API把千问模型接入到本机fast GPT,操作fast GPT对话时,one API无法获得请求,提示网络连接错误。 复现步骤 one API端口设置为13000,并且添加完渠道和令牌,并将fast GPT端口设置为3000、OPENAI_BASE_URL=http://localhost:13000/v1,操作fast GPT对话时,就提示网络连接错误,one API无法接收请求。 预期结果 one API正常接收fast GPT请求,并作为中转将提示词发送到千问。 相关截图 如果没有的话,请删除此节。