yufeikang / raycast_api_proxy

265 stars 39 forks source link

AI Model is unavailable #32

Closed JasonY580 closed 3 months ago

JasonY580 commented 3 months ago

Hey there, I've followed your instructions on the README file and installed the proxy to my computer, but I keep getting this error whenever I try to use the chat.

Screenshot 2024-06-09 at 10 27 06 AM

I am uncertain whether this issue is connected to my API key, Raycast AI, or the proxy server. I attempted to find locations where I could reset the AI model but without success.

Thanks for the help in advance, any would be appreciated!

JasonY580 commented 3 months ago

UPDATE: I recorded this log on docker.

24-06-09 10:43:07 INFO:     localhost:55386 - "GET /api/v1/ai/models HTTP/1.1" 200 OK
2024-06-09 10:43:07 INFO:     localhost:36622 - "PATCH /api/v1/me/client_flag HTTP/1.1" 405 Method Not Allowed
2024-06-09 10:43:07 INFO:proxy:Received request to /api/v1/ai/models
2024-06-09 10:43:07 INFO:proxy:Received request: GET https://backend.raycast.com/api/v1/ai/models
2024-06-09 10:43:08 INFO:     localhost:55386 - "GET /api/v1/ai/models HTTP/1.1" 200 OK

Note: Replace my IP with localhost for privacy reasons.