Commit graph

10 commits

Author SHA1 Message Date
26341533ed feat: add input & output text processing filters, triggers, and /admin/filters page
- Implement FilterEngine supporting literal word replacement, interactive regex matching, instruction injection, and sandboxed JS scripts (vm)
- Add conditional triggers (AND/OR, text contains, regex match, length threshold, conversation state)
- Support arbitrary per-model execution ordering and global filter pipelines
- Add smart SSE streaming mode with keep-alive buffering and chunk-by-chunk processing
- Integrate filter execution step traces into liveWatcher and Admin Playground
- Add dedicated /admin/filters page with visual regex assistant, live regex match preview, model pipeline orchestrator, and dry-run sandbox
- Add automated end-to-end filter test suite in test-filters.ts
2026-11-06 21:04:01 +00:00
792f8a1160 feat: add Zstandard (.json.zst) compression for saved logs and full completion text persistence 2026-11-05 20:34:47 +00:00
343208216e feat: add Gemini content moderation disable option and sequential emergency probe recovery when all targets are in cooldown 2026-11-05 17:59:37 +00:00
e860faba14 Merge branch 'main' into fix_fallback_timeout_latency 2026-11-04 20:50:49 +00:00
4434d308d6 feat(revolver): add model circuit breaker and zero-tolerance 503 fast-failover
- Implement ModelCircuitBreaker to track (provider, model) overload states independently of API keys
- Skip remaining keys in active tier immediately on 503 Service Unavailable / High Demand
- Protect key quotas by preventing 503 errors from marking keys as rate-limited
- Add 15s streaming TTFT timeout and reduce candidate timeout to 20s
- Add Model Circuit Breaker live telemetry and manual reset in Admin Console
- Add comprehensive automated test suite for circuit breaker and failover cascades
2026-11-04 20:44:57 +00:00
f558ef4c88 fix(engine): handle Content-Length mismatch, socket drops, and stream failover resilience 2026-11-04 20:25:51 +00:00
299c5f4c9e feat(admin): add live key+model fallback telemetry and RAM-buffered live request log watcher
- Add TelemetryTracker to record request fallback journeys, tracking step-by-step cascades across tiers, candidate error codes, cooldowns, and next actions
- Add LiveWatcher for RAM-only interactive request inspection with 250-item FIFO safety cap and automatic memory flush on toggle off
- Add REST and SSE streaming endpoints for real-time telemetry and live request logs
- Upgrade Admin Telemetry tab with visual fallback breadcrumbs and live key health matrix
- Add dedicated Live Logs tab with deep multi-tab inspector (Input, Output, Metadata, Debug), search, filters, and JSON export
- Add unit and integration tests (test-live-watcher.ts, test-telemetry-fallback.ts)
2026-11-04 19:31:02 +00:00
0e83233715 feat(timeout): prevent Cloudflare 524 timeouts on long generations via SSE heartbeats and chunked keep-alives 2026-11-03 17:55:26 +00:00
1c955619e7 feat: add admin menu, persistent json config, multi-provider support, and custom model fallback revolver 2026-11-01 22:05:49 +00:00
237d0c65ba Yay! 2026-09-09 18:31:30 +03:00