- Fix scrambled text when typing in Base URL fields: debounced input hook now ignores echo round-trips of its own saves and defers unexpected external updates during an edit grace period
- Serialize API configuration saves through a queue so rapid successive updates are applied in order on the backend
- Fix Base URL input collapsing to tiny width: Radix TooltipTrigger now renders a full-width block wrapper instead of the default shrink-to-fit button
- Trim Base URL values only on commit instead of every keystroke to prevent cursor jumps
- Skip redundant save on mount and flush uncommitted edits on unmount
- Bump version to 4.3.1, update CHANGELOG and README
Context Compression:
- auto-condense extended to all models with >=200K context window
- 500K+ context windows use 92% buffer (was conservative formula)
- added summarizeTaskLite template for <200K models
- fileOptimizationThreshold now configurable (default 0.3)
Multimodal Image Handling:
- auto-strip images when switching from vision to text-only models
- one-time notification per task session
- images preserved in history, auto-restored when switching back
Bug Fixes:
- fixed API errors when switching multimodal to text-only model mid-conversation
Add 胜算云 (ShengSuanYun) as an independent API provider with API key
authentication and dynamic model selection. Core files copied from main
branch with minimal import path adaptations for v3.86.1 compatibility.
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Restored biome.jsonc from main branch to fix 764 lint errors caused by
incorrect config (root:false, missing VCS section, wrong schema). Also
disabled useIterableCallbackReturn rule which is new in biome 2.3.x.
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
- Enhanced tools to support English and Simplified Chinese descriptions and instructions.
- Updated `read_file`, `replace_in_file`, `search_files`, `subagent`, `use_mcp_tool`, `use_skill`, `web_fetch`, `web_search`, and `write_to_file` to include locale-based instruction handling.
- Improved user experience by providing localized messages for tool descriptions and parameter instructions.
- Implemented locale-based formatting for tool use sections, including guidelines and instructions, to support Chinese (zh-CN) language.
- Added new Chinese templates for tool use formatting, guidelines, user instructions, and task descriptions.
- Enhanced tool specifications to include locale-aware descriptions and instructions.
- Introduced utility functions for locale detection and text selection based on the user's language preference.
- Updated SystemPromptContext to include locale information for better context handling.
* fix(api): filter Gemini reasoning details by tool call ID
Filter reasoning details in the OpenAI format transformer to ensure they
only include entries matching the specific tool call ID. This prevents
"Function call is missing a thought_signature" errors when using Gemini
models, where mismatched reasoning details would cause API validation
failures.
* fix(gemini): drop invalid thought signatures and corrupted reasoning_details
- Gemini direct: drop tool_use/thinking blocks when signature is missing
- OpenRouter: keep only tool reasoning_details matching tool id
- Skip reasoning.encrypted entries missing data to avoid 400s (#8214)
* fix(core): sanitize Gemini tool calls in OpenRouter stream
Gemini models require thought signatures for tool calls. When switching providers mid-conversation, historical tool calls may lack these reasoning details, causing subsequent requests to fail.
This change implements a filter for Gemini models that:
- Identifies assistant messages with tool calls but no reasoning details.
- Drops those tool calls while preserving textual content.
- Removes the corresponding tool response messages to maintain conversation integrity.