Skip to content

New#2

Open
Ironboxplus wants to merge 1518 commits into
mainfrom
new
Open

New#2
Ironboxplus wants to merge 1518 commits into
mainfrom
new

Conversation

@Ironboxplus

Copy link
Copy Markdown
Owner

No description provided.

@Ironboxplus Ironboxplus force-pushed the new branch 6 times, most recently from dae9fcf to c55780c Compare January 24, 2026 06:39
@Ironboxplus Ironboxplus force-pushed the new branch 3 times, most recently from 1c05e6a to 08e2429 Compare February 10, 2026 14:46
@Ironboxplus Ironboxplus force-pushed the new branch 4 times, most recently from 82e53c6 to 982b813 Compare February 20, 2026 14:38
@Ironboxplus Ironboxplus force-pushed the new branch 2 times, most recently from f53e4cc to ab55e95 Compare March 6, 2026 06:46
@Ironboxplus Ironboxplus force-pushed the new branch 4 times, most recently from 2293a13 to 06dff20 Compare March 14, 2026 05:27
@Ironboxplus Ironboxplus force-pushed the new branch 2 times, most recently from ed8b239 to 4888395 Compare March 23, 2026 14:29
@Ironboxplus Ironboxplus force-pushed the new branch 2 times, most recently from 9582f7c to 6b7618e Compare March 30, 2026 10:48
@Ironboxplus Ironboxplus force-pushed the new branch 2 times, most recently from 309a7d4 to ba191cd Compare April 8, 2026 14:17
@Ironboxplus Ironboxplus force-pushed the new branch 2 times, most recently from 822d96c to 9ec6f63 Compare May 14, 2026 17:25
…onfig-get-endpoint

fix(plugins): expose saved plugin config
luispater and others added 30 commits July 7, 2026 15:23
…ugh in Claude executor

- Verified proper chunking and streaming of SSE events in `ExecuteStream`.
- Refactored executor to ensure complete SSE event delivery without partial fragments.

Closes: router-for-me#4121
…ed content parsing

- Added `applyResponsesToolResultContent` to process and structure tool response content.
- Introduced conversion logic for text, image, and file parts in tool responses.
- Updated tests to validate correct handling of data URL images in tool response outputs.

Closes: router-for-me#4116
… models

- Added handling of input/output modalities metadata for Codex and compatibility clients.
- Updated model registry and configurations to support "text" and "image" modalities.
- Introduced new tests to validate input/output modalities registration and processing.

Closes: router-for-me#3976
…PI responses

- Added `mapCodexWebsocketReadError` to handle `CloseMessageTooBig` errors with proper status and error code mapping.
- Updated error propagation and logging in Codex WebSocket executor.
- Introduced corresponding unit test to verify `message_too_big` error mapping in streamed responses.

Closes: router-for-me#4017
…eamUsageBuffer`

- Introduced `StreamUsageBuffer` to encapsulate stream usage observation and publishing logic.
- Updated OpenAI-compatible executors and helpers to use `StreamUsageBuffer` for consistent stream usage tracking.
- Added unit tests to validate `StreamUsageBuffer` behavior, ensuring proper handling of usage details.

Closes: router-for-me#4053
…mpatibility handling

- Consolidated thinking content block handling for improved clarity and efficiency.
- Unified `generationConfig` handling, including normalization of `thinkingConfig` settings.
- Added `applyOpenAIThinkingCompatibilityToAntigravity` for consistent reasoning and thought configuration compatibility.

Closes: router-for-me#4067
…ccount hashing

- Updated `CredentialFileName` to include trimmed `hashAccountID` for team-scoped plans.
- Added `isTeamScopedPlan` helper to handle plan-specific logic.
- Ensured filenames are unique across emails for multiple teams.

Closes: router-for-me#4075
…es and context

- Registered Grok 4.5 with advanced agentic software and workflow task handling.
- Increased context length and max completion tokens for enhanced performance.
- Added `tryRefreshAfterUnauthorized` to refresh OAuth credentials on 401 errors during requests.
- Implemented `refreshLocks` to prevent concurrent refreshes for the same auth ID.
- Updated auth/state handling to reset unauthorized model states and resume operations after a successful refresh.
- Enhanced refresh logic with error handling, synchronization, and state updates.

Closes: router-for-me#4087
… in XAI

- Replaced hardcoded model allowlist with dynamic model registry metadata lookup.
- Enhanced `xaiSupportsReasoningEffort` to utilize metadata for reasoning capability validation.
- Updated `sanitizeXAIResponsesBody` to log reasoning effort stripping for unsupported models.
- Added unit tests to verify registry-based reasoning effort handling across models, including Grok 4.5.

Closes: router-for-me#4147
- Introduced `AttachCacheControl` and `AttachMessageCacheControl` utilities for consistent cache control injection in content parts and messages.
- Updated Claude translator modules to preserve and apply cache control metadata for responses, messages, tools, and parts.
- Added unit tests to validate proper cache control behavior across multiple scenarios.

Closes: router-for-me#4146
- Added logic to convert OpenAI `max_tokens` and `max_completion_tokens` to `generationConfig.maxOutputTokens`.
- Implemented unit tests to validate proper mapping behavior, including precedence of `max_tokens` over `max_completion_tokens`.

Closes: router-for-me#4108
…in auth disabled state support

- Added `EnsureClaudeModelIDPrefix` and `ResolveClaudeModelIDPrefix` utilities for standardizing and decoding Claude model IDs.
- Updated handling of `claude-fable-5-dd-<reversed>` model IDs for request routing and response formatting.
- Incorporated logic to enforce disabled states for plugin virtual auths and their expanded children.
- Refactored code for applying and persisting disabled state metadata in plugin multi-auth scenarios.
- Implemented and extended unit tests to validate expected behavior.
… mismatch handling

- Added `modelFamilyMismatch` check to improve validation for provider families reusing Claude-compatible formats (e.g., Kimi models).
- Adjusted `allowClampUnsupported` logic to account for mismatched model families.
- Updated `strictBudget` validation to exclude mismatched model types.
- Added test cases to verify clamping behavior for Kimi models serving Claude-compatible requests.
…enhanced capabilities

- Registered new GPT-5.6 models (Sol, Terra, Luna) with detailed configurations, including increased context length and advanced reasoning levels.
- Updated client model configurations and metadata for GPT-5.6 Sol in `codex_client_models.json`.
…o model registry

- Added detailed configurations for new models, including context length, reasoning levels, and supported parameters.
…PT-5.5 configurations

- Bumped the `defaultClientVersion` and `defaultCodexUserAgent` to `0.144.0`.
- Replaced GPT-5.6 Sol with GPT-5.5 in model registry, adjusting metadata including context window length and reasoning levels.
- Updated `usage_helpers` to include `cache_write_tokens` logic for input token details.
- Updated request logging middleware to include `/backend-api/codex/responses` as a valid websocket path.
- Enhanced unit tests to cover new websocket path scenarios.
- Updated Codex client to validate and restrict input modalities to "text" and "image" only.
- Added deduplication logic for input modalities in `codex_client_models.go`.
- Introduced test cases to verify behavior with mixed and invalid modalities.
- Introduced `override_header` in model configurations to support runtime customization of upstream request headers.
- Added `applyModelHeaderOverrides` utility to enforce header overrides for relevant executor and websocket paths.
- Updated model registry and `models.json` with enhanced configurations for header customizations.
- Implemented and extended test cases to validate header override behavior for various models and scenarios.
# Conflicts:
#	internal/runtime/executor/helps/usage_helpers_test.go
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.