You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: Add pre-flight BookStack connectivity check before every chat request
- Add checkBookStackConnectivity() that pings /api/books with a 7s timeout
- Detects 403 (VPN blocked), 401, 5xx, and all network error codes as unreachable
- Immediately sends bookstack_error SSE event and aborts before calling OpenAI
- Prevents misleading 'no documentation found' GPT responses when VPN is off
- Adds axios 7s global timeout so hung requests fail fast instead of waiting indefinitely
0 commit comments