This release adds OpenRouter as a built-in provider, introduces per-model gateway bypass support, and allows a dedicated model for session compaction, alongside several internal refactoring improvements.
What's New
- Adds OpenRouter as a first-class built-in provider; when
OPENROUTER_API_KEYis set, the provider is auto-detected and its base URL resolved automatically - Adds a
compaction_modelfield to allow a dedicated model for session summary generation, separate from the primary agent model - Adds a
bypass_models_gatewayboolean field on a per-model basis, allowing specific models to connect directly to their provider instead of routing through the configured models gateway
Technical Changes
- Replaces mutex usage with atomic types (
atomic.Bool,atomic.Pointer) for single mutable fields in several structs - Replaces package-level global variables with explicit parameters or struct fields to enable parallel-safe testing across several packages (
toolinstall,runtime,mcp,notification,tui,cmd/root) - Adds a concurrency group to the PR review trigger CI workflow to prevent duplicate reviews for the same PR
What's Changed
- docs: update CHANGELOG.md for v1.92.0 by @docker-read-write[bot] in #3331
- refactor: replace single-variable mutexes with atomic types by @dgageot in #3330
- ci: add concurrency group to pr-review-trigger to prevent duplicate reviews by @derekmisler in #3334
- refactor: replace test-overridden globals with parallel-safe injection by @dgageot in #3332
- feat(compaction): allow a dedicated model for session summary generation by @Sayt-0 in #3335
- feat: add OpenRouter provider by @dgageot in #3337
- feat: add per-model bypass_models_gateway option by @dgageot in #3338
Full Changelog: v1.92.0...v1.93.0