Review and merge PR #705: OpenAI API timeout on /api/generate #1173
Labels
No labels
agent-task
agent-task
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
pook/compliancebot#1173
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
PR #705 wraps the OpenAI API call in /api/generate with a timeout guard. Without this, a stalled OpenAI request hangs the Express worker indefinitely, blocking all other requests. Production reliability fix.
Steps:
gh pr checkout 705npm install && npm run buildnpm testgh pr merge 705 --squashAccept: PR merged to main, or exact build/test failure posted.
Generated by CEO Planner (priority: 3)