Commit graph

32 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
9d44c92b01 feat: cap 503 overload key retries to 1 retry key and split Admin UI into subpages 2026-11-05 19:44:07 +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
3549251e71 Merge branch 'admin_telemetry_live_logs' 2026-11-04 20:33:18 +00:00
680c080c78 fix(liveWatcher): ensure idempotency on cancelRequest and detailed error reporting 2026-11-04 20:33:13 +00:00
9bb502cd46 Merge branch 'admin_telemetry_live_logs' 2026-11-04 20:25:58 +00:00
f558ef4c88 fix(engine): handle Content-Length mismatch, socket drops, and stream failover resilience 2026-11-04 20:25:51 +00:00
ae0e04c65a Merge branch 'admin_telemetry_live_logs' into main 2026-11-04 19:31:19 +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
ba57e3e394 Merge branch 'main' of https://gitea.gsdistance.org/tyuXX/GeminiRevolver 2026-11-03 17:10:01 +00:00
19ea81e449 fix(gemini): prepend empty user placeholder and normalize role alternation 2026-11-03 17:07:03 +00:00
b8323cc51a small adjustment 2026-11-02 02:21:45 +03:00
a27c781dd9 Merge branch 'admin_menu_api_providers' into main 2026-11-01 22:06:08 +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
8e18362898 Small UI adjustment 2026-10-30 20:22:56 +03:00
637a3cf255 feat(ui): redesign stats page with gsdistance.org theme 2026-10-25 20:13:19 +00:00
932565b20c fix: correctly detect client disconnect on response rather than request stream 2026-10-11 18:37:58 +00:00
f984a7e8e2 feat: add public stats dashboard and request/token tracking 2026-10-11 18:09:44 +00:00
tyuXX
9850334202
Set JSON payload limit to 100mb
Increase JSON payload limit to 100mb for requests.
2026-09-28 01:17:28 +03:00
55daeea0cd Optimise 2026-09-27 16:35:20 +03:00
1521fffecc Add timing logs 2026-09-27 16:31:43 +03:00
feef1dce63 Streaming support 2026-09-27 16:24:09 +03:00
05e45ae897 Add better logging? 2026-09-27 16:20:34 +03:00
dfff9d0c52 Upd 2026-09-27 16:17:12 +03:00
6ce13895ef Fix 2026-09-27 16:05:50 +03:00
4b191a80bf Fix 2026-09-27 16:04:49 +03:00
930af8d9e9 Up 2026-09-27 15:58:16 +03:00
237d0c65ba Yay! 2026-09-09 18:31:30 +03:00