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.5k stars 4.7k forks source link

私有部署之后,请求对话接口提示http url is empty #1116

Closed Romanlink closed 6 months ago

Romanlink commented 6 months ago

例行检查

你的版本

问题描述 私有化部署之后,请求对话接口 curl --location --request POST 'http://ip:3000/api/v1/chat/completions' \ --header 'Authorization: Bearer fastgpt-7kv9zrWbthNnYiPUdWgV0trkym25ArlqBfbxgSElhByTgILbYYW2xLoJnmT5mM' \ --header 'Content-Type: application/json' \ --data-raw '{ "chatId": "111", "stream": false, "detail": false, "messages": [ { "content": "导演是谁", "role": "user" } ] }' ----------------------------------------以下是返回结果---------------------------------- { "code": 500, "statusText": "", "message": "Http url is empty", "data": null }

fastgpt容器内日志内容如下: [INFO] 2024-04-01 10:03:00 [Vector Queue] Done [INFO] 2024-04-01 10:04:00 [Vector Queue] Done [INFO] 2024-04-01 10:04:00 [QA Queue] Done [ERROR] 2024-04-01 10:04:18 response error: Http url is empty { message: 'Http url is empty', stack: undefined } [ERROR] 2024-04-01 10:04:26 response error: Http url is empty { message: 'Http url is empty', stack: undefined } [ERROR] 2024-04-01 10:04:27 response error: Http url is empty { message: 'Http url is empty', stack: undefined }

复现步骤

预期结果

相关截图

c121914yu commented 6 months ago

编排问题把,没填http模块地址

Romanlink commented 6 months ago

@c121914yu 小白求教,要怎么操作,

c121914yu commented 6 months ago

@c121914yu 小白求教,要怎么操作,

看高级编排

Romanlink commented 6 months ago

问题找到了,不是部署的问题,是高级编排里面的http请求配置问题。感谢@c121914yu的指点