Commit Graph

9 Commits

Author SHA1 Message Date
tctinh
814709c8e6 fix: v1.3.1 bugfixes - Zod v4 upgrade, keep_thinking, tool params, auth headers, quiet_mode
Changes:
- Upgraded to Zod v4 and adjusted schema generation for compatibility
- Fixed keep_thinking=true failing without debug mode (signature validation)
- Fixed tool calls failing for tools with no parameters (default args to {})
- Aligned auth headers with official Gemini CLI to reduce account issues
- Fixed quiet_mode not suppressing all toast notifications
2026-01-19 11:13:02 +07:00
tctinh
462b429736 docs: add missing config options and improve documentation
- Add switch_on_first_rate_limit and pid_offset_enabled to JSON schema
- Document keep_thinking with experimental warning (fixes #150)
- Expand quota_fallback description explaining Gemini dual quota pools (fixes #151)
- Add Signature Cache section documenting cache settings
2026-01-09 14:00:06 +07:00
tctinh
eedafe5947 feat: smart account routing with error differentiation
- Add account_selection_strategy config: sticky, round-robin, hybrid
- Fix capacity vs quota error handling (Issue #111)
- Capacity errors: escalating backoff (5s→60s), retry same account
- Quota errors: switch to next account immediately
- Add touchedForQuota state tracking for hybrid strategy
- Add comprehensive tests for all strategies
2026-01-05 22:53:22 +07:00
tctinh
22a12154fb feat: add quota fallback option to configuration schema and update Gemini 3 thinking levels 2025-12-28 22:27:00 +07:00
tctinh
16f4bb07a1 feat: add E2E testing scripts and simplify Gemini Flash model config
- Add test-models.ts for validating all supported model endpoints
- Add test-regression.ts for multi-turn regression testing (Issue #50)
- Consolidate Gemini 3 Flash variants (low/medium/high) into single model
- Fix schema structure by flattening nested signature_cache properties
- Extract streaming transformer utilities to dedicated module
2025-12-28 00:04:57 +07:00
tctinh
7bef0105ef Merge remote-tracking branch 'origin/dev' into feature/gemini-cli-routing 2025-12-27 11:21:11 +07:00
CasualDeveloper
e879ad9594 fix: fail fast when rate-limit wait exceeds configurable threshold (#59)
- Add max_rate_limit_wait_seconds config option (default: 300s / 5 min)
- Set to 0 to disable fail-fast and wait indefinitely
- Shows clear error message with quota reset time
- Suggests adding more accounts or waiting
2025-12-26 23:26:29 +08:00
tctinh
7c43511f7a feat: add prefix-based quota routing for Gemini CLI vs Antigravity
- Add 'antigravity-' prefix to route to Antigravity quota
- Models without prefix route to Gemini CLI quota
- Claude/GPT models auto-route to Antigravity (only available there)
- Gemini 3 tiers: Pro supports low/high, Flash supports minimal/low/medium/high
- Add thinkingLevel param for Gemini CLI, keep tier in model name for Antigravity

Resolves #51
2025-12-26 17:36:20 +07:00
tctinh
6c1e3b7b40 feat: Implement session recovery module for handling recoverable errors
- Added recovery functionality for tool_result_missing, thinking_block_order, and thinking_disabled_violation errors.
- Introduced constants and types for session recovery.
- Created storage utilities for reading and writing session data.
- Enhanced debug logging capabilities in debug.ts.
- Refactored debug state management for better initialization and access.
2025-12-26 02:09:15 +07:00