-
Notifications
You must be signed in to change notification settings - Fork 0
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Problem
When interacting with the deployed API at https://12355-emlembows-projects.vercel.app/api/chat, the server responds with a 503 Service Unavailable error. This happens when sending a message such as {message: 'tell me more'}. The issue is reproducible and appears to be persistent.
Console/Network Logs
POST https://12355-emlembows-projects.vercel.app/api/chat 503 (Service Unavailable)
API response status: 503
Error sending message: Error: Server error: 503
at R (150.2b18622cf168129d.js:1:3173)
window.console.error @ 684-3359128dfe31cdd5.js:1
Network response:
{
"error": "Service temporarily unavailable",
"details": "Failed to build system prompt"
}
Steps to Reproduce
- Visit the deployed site.
- Attempt to send a message via the chat interface.
- Observe the 503 response and error logs in the browser console/network tab.
Expected Behavior
The API should respond with a valid reply rather than a 503 error.
Actual Behavior
A 503 Service Unavailable error is returned from the Vercel deployment, with details indicating a failure to build the system prompt.
Additional Context
- Error message:
Failed to build system prompt - Environment: Vercel deployment
Please investigate the backend and Vercel configuration for possible causes (e.g., cold starts, misconfiguration, resource limits, or code errors causing system prompt build failures).
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working