tpmjs/apps/playground/src
Ajax Davis 1bd484797f fix: add 120s timeout per tool and increase route maxDuration to 300s
- Add AbortController timeout (120s) to Railway fetch requests
- Gracefully handle timeout errors and report to health check system
- Increase /api/chat maxDuration from 60s to 300s (5 minutes)
- Prevents entire chat from timing out when one tool has large dependencies
- Tools that timeout are logged and skipped, allowing others to load

Fixes issue where tools like ctx-zip with many dependencies would
cause the entire chat request to timeout after 60 seconds.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-05 00:43:13 +10:00
..
app fix: add 120s timeout per tool and increase route maxDuration to 300s 2025-12-05 00:43:13 +10:00
components test: update form input tests to expect bg-surface instead of bg-background 2025-12-04 20:02:55 +10:00
hooks fix: read env vars directly from localStorage to avoid React closure issue 2025-12-04 14:36:51 +10:00
lib fix: add 120s timeout per tool and increase route maxDuration to 300s 2025-12-05 00:43:13 +10:00
env.ts fix: make OPENAI_API_KEY optional for playground to allow client-provided keys 2025-12-04 13:22:23 +10:00