Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rest AI Error:404 page not found #1659

Open
wonb168 opened this issue Feb 20, 2025 · 7 comments
Open

Rest AI Error:404 page not found #1659

wonb168 opened this issue Feb 20, 2025 · 7 comments

Comments

@wonb168
Copy link

wonb168 commented Feb 20, 2025

Rest AI Error:{"error":{"message":"Invalid URL (POST /v1/)","type":"invalid_request_error","param":"","code":""}}
Rest AI Error:404 page not found

配置 custom AI 后报错,但相关信息 cherrystudio 是通的。
cherrystudio:
Image
chat2db:
Image

@darkmice
Copy link

darkmice commented Mar 3, 2025

我也碰到同样的问题,使用本地ollama地址,其它应用都是可以使用,在这里就配置了,会提示Rest AI Error:404 page not found

@tmlx1990
Copy link
Contributor

tmlx1990 commented Mar 3, 2025

Rest AI Error:{"error":{"message":"Invalid URL (POST /v1/)","type":"invalid_request_error","param":"","code":""}} Rest AI Error:404 page not found

配置 custom AI 后报错,但相关信息 cherrystudio 是通的。 cherrystudio: Image chat2db: Image

你这个应该是地址不对吧,你可以用类似apifox的接口工具试下,是不是标红这里的地址才是真正地址。

Image

@tmlx1990
Copy link
Contributor

tmlx1990 commented Mar 3, 2025

我也碰到同样的问题,使用本地ollama地址,其它应用都是可以使用,在这里就配置了,会提示Rest AI Error:404 page not found

使用接口请求工具用同样的参数试试。确认下实际请求地址。

@darkmice
Copy link

darkmice commented Mar 5, 2025

是前端提交后会默认加/,导致后端请求地址不对

@tmlx1990
Copy link
Contributor

tmlx1990 commented Mar 5, 2025

是前端提交后会默认加/,导致后端请求地址不对

这个已经修复了,等待下个版本,如果是源代码启动的,也可以自行修改下。 #1665

@yaolinhong
Copy link

yaolinhong commented Mar 10, 2025

快发 T.T 卡了半天 哥哥

https://github.com/CodePhiliaX/Chat2DB/releases/tag/v0.3.7

我在这个版本上 卡了好久

@seasoncool
Copy link

+1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants