Spaces:
Runtime error
Runtime error
Commit History
-
Add multi-user mode to load test script
- Support LOADTEST_USER_CREDENTIALS for realistic concurrent-user testing - Log in per worker and keep separate cookie sessions - Retain token mode for single-user tests Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>2b14a4b -
Improve Gemma failover and load-test realism
- Keep Gemma primary but fail over faster to fallback models on timeout - Replace hardcoded 5/min decorator with admin-configured per-minute enforcement - Enhance load-test script with cookie-auth login path and failure code reporting Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>a0c464d -
Fix cookie set compatibility in load script
- Remove unsupported secure kwarg for httpx Cookies.set - Prefer login credentials over stale token env when both are set Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>082aeff -
Fix load test auth for cookie-based backend
- Use access_token cookie instead of Authorization header - Support login-based token fetch via LOADTEST_LOGIN_EMAIL/PASSWORD - Keep workers alive on per-request failures Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>5fae813 -
Scale runtime for 20-user target load
- Move user page to WebSocket-first updates with low-frequency fallback polling - Add in-process caching for active sessions and recent notifications - Broadcast session/notification snapshots to reduce read amplification - Add adaptive chat history compaction under high LLM load - Add configurable multi-worker startup and load-test script for p95 tuning Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>decd9fb