Commit Graph

252 Commits

Author SHA1 Message Date
Luis Pater
c76dfd4e0e chore(codex): update codex user-agent to 0.153.3
- Update default Codex executor user-agent and model override headers to `codex-tui/0.153.3`.

Closes: #5521
2026-09-06 15:27:15 +08:00
Luis Pater
31ec43621b chore(models): remove gpt-5.4 and gpt-5.4-mini models
- Remove `gpt-5.4` and `gpt-5.4-mini` specifications from registry models.
- Remove deprecated `gpt-5.4` configuration from Codex client models.
2026-09-06 03:56:06 +08:00
Luis Pater
c77b136943 feat(models): add gpt-6-astra model and update codex client configurations
- Add `gpt-6-astra` model specifications and capabilities to registry models.
- Update Codex client models configuration and instructions for `gpt-6-astra`.
- Bump default Codex client version and user-agent to `0.153.3` in model fetcher tool.
2026-09-05 03:35:14 +08:00
Luis Pater
bdcccfb8e0 chore(registry): remove "minimal" level from dynamic_allowed definitions in models
- Cleaned up unused "minimal" level from dynamic levels across multiple model definitions.
2026-09-02 23:33:22 +08:00
Luis Pater
dacae58228 feat(registry): add claude fable 5.1 and gemini 3.8 flash models
- Add `claude-fable-5-1` model definition with thinking configuration and multimodal capabilities.
- Add `gemini-3.8-flash` and `gemini-3.8-flash-high` model definitions across Google and Antigravity registries.
2026-09-02 23:27:56 +08:00
sususu
35e3d97dac fix(registry): remove defunct gemini-3-flash-agent model from antigravity provider
Remove gemini-3-flash-agent and legacy gemini-3.5-flash entries from the embedded antigravity model registry in models.json, as upstream Google Cloud Code / Antigravity endpoints return 500 UNKNOWN for these model IDs. Update excluded model tests to assert against active model gemini-pro-agent instead.
2026-09-01 15:26:57 +08:00
Luis Pater
12b88f3ad6 fix(auth): synchronize auth lifecycle and registry state with epochs and generations
- Add `RegistrationEpoch` and `Generation` tracking to `Auth` and model registry to prevent stale scheduling and snapshot reconciliation races.
- Implement scheduler removal tombstones and `ApplyClientModelProjections` in the model registry to atomically discard out-of-order state updates.
- Track logical route models across execution results and preserve active model cooldowns during registry reconciliation.
2026-08-30 12:53:39 +08:00
Luis Pater
02e3d33c49 chore(codex): update codex client model definitions
- Add missing model schema fields including `multi_agent_reasoning_effort`, `requires_sandboxed_review`, `persistent_instructions`, `guardian_v2`, and `confirmation_policies`.
2026-08-30 01:29:03 +08:00
hkfires
71c3c144a0 fix(registry): detect gemini interactions changes 2026-08-22 12:20:53 +08:00
hkfires
e04d620cc1 feat(auth): normalize credential metadata keys
Canonicalize legacy config-style credential keys across stores,
management handlers, plugin auth, and file synthesis while preserving
explicit canonical values. Expose per-auth request_retry in auth file
management and add max-retry-credentials management routes.
2026-08-22 12:01:06 +08:00
Luis Pater
85e7add6ad feat(models): add Gemini 3.7 Flash model registrations to model registry
Closes: #5137 #5046
2026-08-21 22:51:45 +08:00
Luis Pater
745fb38dbb chore(models): update GPT-5.6 context limits in registry metadata
- Raise GPT 5.6 Sol/Terra/Luna `context_length` values to `921000` in `internal/registry/models/models.json`.
- Update matching Codex client model settings to `context_window: 272000` and `max_context_window: 921000` in `internal/registry/models/codex_client_models.json`.
2026-08-17 12:48:09 +08:00
Luis Pater
c1ff55fc2f chore(models): remove GPT-5.6 Sol Work Mode registrations from model registry config 2026-08-15 19:13:39 +08:00
Luis Pater
dd214445ef feat(models): add GPT-5.6 Sol Work Mode model registrations and Codex client config updates 2026-08-15 15:34:11 +08:00
Luis Pater
98c98d66be fix(codex): cache multi-agent spawn-agent model data and invalidate on updates
- Add registry generation tracking and a Codex catalog revision accessor to provide stable cache keys.
- Cache parsed model templates and rendered spawn-agent markdown, and reuse them across requests when revision/generation are unchanged.
- Invalidate/recompute caches when model registrations or catalog content change, and separate rewrite handling for spawn tool descriptions vs. message encryption stripping.

Closes: #4967
2026-08-15 03:49:56 +08:00
Luis Pater
7ea9c670ea feat(registry): add Gemini 3.7 Flash High model definition
- Added `gemini-3.7-flash-high` to `internal/registry/models/models.json` with completion/context limits, multimodal input/output metadata, and supported thinking levels.
2026-08-14 03:19:35 +08:00
Luis Pater
323b7276bc feat(registry): add model modality metadata to registry definitions
- Added `supportedInputModalities` and `supportedOutputModalities` across model entries in `internal/registry/models/models.json`.
- Filled capability metadata for text/image/audio/video-aware models (mainly Claude/Gemini-family and related provider routes), including Gemini image variants and image-generation models.
- Standardized modality descriptors for multimodal compatibility checks in model routing/validation without changing existing token or generation settings.
2026-08-13 14:39:05 +08:00
Luis Pater
db35b91e2a feat(openai): add xAI Grok Imagine Image 2.0 image model support
- Added `grok-imagine-image-2.0` as a first-class xAI image base model across validation, canonicalization, and routing checks.
- Registered the model in built-in model definitions so it appears in model metadata.
- Updated image model allowlists and request validation error messaging to include the new model.
- Marked the new model as hidden in client visibility override handling.
2026-08-13 14:37:29 +08:00
Luis Pater
dcee14dd3c feat(compat): preserve compat-mode thinking/signature blocks for API-key models
- Added `is-compat` model metadata plumbing from config through executor and helpers, including hash computation.
- Introduced a compatibility-aware translation path (`TranslateRequestWithAPIKeyModelCompatibility`) and wired it into Claude/Gemini/Codex/Interactions request flows.
- Updated Claude message sanitization/translation behavior to keep empty-thinking compatibility blocks (including signatures) when `is-compat` is enabled, while keeping default behavior unchanged.
2026-08-06 17:19:24 +08:00
Luis Pater
32f1069a18 Merge pull request #4668 from oscarbrey/fix/grok-imagine-video-1.5-ga
fix(xai): support Grok Imagine Video 1.5 GA
2026-08-04 23:12:15 +08:00
Luis Pater
b782d4374f feat(api): add Grok Shell-aware /v1/models handling with dedicated model response formatting 2026-08-04 17:49:43 +08:00
Luis Pater
a303fd869b feat(codex): support max-context-length overrides for configured models
- Add optional `max-context-length` model configuration across supported provider model types and expose it via `GetMaxContextLength`.
- Propagate the override into model metadata so Codex/client model catalog responses honor the configured value (`context_window`, `max_context_window`, and `max_context_length`).
- Update example configuration with documented usage of the new option.

Closes: #4728
2026-08-03 03:01:43 +08:00
Luis Pater
7d00936acc feat(models): add Kimi K3 256K and extend Kimi K3 configuration
- Added new model `Kimi K3 256K` with 256K context support and image input capability.
- Enhanced `Kimi K3` configuration by introducing `thinking` options and increasing context length.

Closes: #4612
2026-07-31 00:53:23 +08:00
oscarbrey
84232747e2 fix(xai): register video preview alias 2026-07-29 23:28:53 +02:00
oscarbrey
abaeb55bb2 fix(xai): support Grok Imagine Video 1.5 GA 2026-07-29 23:06:30 +02:00
Luis Pater
a432d76305 feat(models): remove Gemini 3.5 Flash Lite entry from models.json
- Deleted the `gemini-3.5-flash-lite` model specification from `models.json`.

Closes: #4636
2026-07-29 16:53:33 +08:00
Luis Pater
61a6f08d18 feat(models): add metadata for Gemini 3.1 Pro Preview, 3.5 Flash Lite, and 3.6 Flash models
- Added detailed specifications for `Gemini 3.1 Pro Preview`, `Gemini 3.5 Flash Lite`, and `Gemini 3.6 Flash` models, including token limits, generation methods, and thought levels.
- Updated `models.json` to include entries for all three versions.

Closes: #4555
2026-07-28 02:14:23 +08:00
Luis Pater
3073dab0b6 feat(models): add metadata for Gemini 3.5 Flash Lite and Gemini 3.6 Flash models
- Added detailed specifications for `Gemini 3.5 Flash Lite` and `Gemini 3.6 Flash` models, including token limits, generation methods, and thought levels.
- Updated `models.json` to include entries for both versions across relevant segments.

Closes: #4521
2026-07-28 01:21:47 +08:00
Luis Pater
ace2e843cb feat(models): add new models Claude Opus 5 and Gemini 3.6 Flash
- Extended `models.json` with Claude Opus 5, a premium high-context model by Anthropic.
- Added Gemini 3.6 Flash (High) by Antigravity, with advanced token and thinking configurations.
2026-07-25 16:56:11 +08:00
Luis Pater
7d2883e745 chore(models): remove obsolete variables and approvals from Codex client models
- Deleted unused `instructions_variables` and `approvals` fields from `codex_client_models.json`.
2026-07-20 15:58:37 +08:00
Luis Pater
bd3841155e fix(models): update Gemini model IDs and metadata for production release
- Removed "Preview" suffix from model IDs, display names, and descriptions.
- Standardized naming conventions for all Gemini 3.x models to reflect production readiness.
2026-07-18 23:02:57 +08:00
Luis Pater
117654317a feat(kimi): migrate Kimi executor to use chat completions path and remove deprecated code
- Updated Kimi executor to route all Claude requests through the OpenAI-compatible chat completions API.
- Removed legacy delegation to Claude executor for non-streaming and streaming execution.
- Enhanced translator integration for request normalization and Kimi model stripping.
- Updated tests to validate chat completions behavior, including upstream request logging, payload transformation, and response handling.
- Deleted Kimi K3[1M] variant and associated metadata.
2026-07-18 22:55:26 +08:00
Luis Pater
740caabd9e fix(models): correct casing in Kimi K3 model ID 2026-07-18 18:34:33 +08:00
Luis Pater
a28b9f1a00 feat(models): add new Kimi K3 variants and update metadata
- Added a new variant `kimi-k3[1M]` with extended 1M context length support.
- Updated `kimi-k3` metadata: adjusted context length, tokens, and thinking levels.
- Enhanced descriptions to reflect the latest specifications.
2026-07-18 18:25:30 +08:00
Luis Pater
2366f67376 fix(registry): update Gemini 3.1 Flash Lite model ID and add test for validation
Closes: #4391
2026-07-17 16:28:29 +08:00
hkfires
255df2db3c feat(kimi): implement native thinking object extraction and update reasoning handling 2026-07-17 13:33:44 +08:00
sususu98
4fe2c60c51 feat(registry): remote-refresh Codex client model catalog (#4276)
Load codex_client_models.json like models.json with validation, revisioned
handler reloads, CI bake, and Home-aware updater gates so list IDs still
come from Home while templates can refresh on the edge.
2026-07-13 17:47:35 +08:00
Luis Pater
f084eefae6 chore(models): remove "ultra" effort level from models.json 2026-07-10 14:31:53 +08:00
Luis Pater
35dba9b412 chore(models): update default client version and user agent, revise GPT-5.6 Sol configuration
- Incremented `defaultClientVersion` and `defaultCodexUserAgent` to `0.144.1`.
- Replaced GPT-5.5 with GPT-5.6 Sol in model registry, updating metadata including context window length, reasoning levels, and description.
- Enhanced model metadata with adjusted parameters, reasoning format, and new effort levels.
2026-07-10 12:46:09 +08:00
Luis Pater
26d45fd46a feat(models): add model header overrides from configuration
- 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.
2026-07-10 05:30:12 +08:00
Luis Pater
5f8899b795 chore(models): remove GPT-5.6 Sol from model registry 2026-07-10 04:05:57 +08:00
Luis Pater
b4c594050e chore(models): update default client version and user agent, revise GPT-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.
2026-07-10 01:54:37 +08:00
Luis Pater
f21beb05b5 feat(models): register additional GPT-5.6 models (Sol, Terra, Luna) to model registry
- Added detailed configurations for new models, including context length, reasoning levels, and supported parameters.
2026-07-10 01:01:11 +08:00
Luis Pater
445de6c055 feat(models): add GPT-5.6 models (Sol, Terra, Luna) to registry with 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`.
2026-07-10 00:59:41 +08:00
Luis Pater
1204101ff2 feat(models): update zero_allowed thinking config to false in model registry 2026-07-09 15:19:23 +08:00
Luis Pater
c612108645 feat(models): adjust thinking levels by removing "none" and "xhigh" options 2026-07-09 03:11:20 +08:00
Luis Pater
186c87ba6d feat(models): add xhigh targeting option to confidence level settings 2026-07-09 02:03:58 +08:00
Luis Pater
7c47edb141 feat(models): add Grok 4.5 to model registry with extended capabilities and context
- Registered Grok 4.5 with advanced agentic software and workflow task handling.
- Increased context length and max completion tokens for enhanced performance.
2026-07-09 01:49:56 +08:00
Wolfgang Schoenberger
956ce7cf78 fix(registry): add Claude Sonnet 5 model metadata 2026-06-30 20:06:40 -07:00
Luis Pater
65f2288a4a feat(models): refine Gemini 3.5 Flash variants and add Medium tier
- Updated display names and descriptions of existing Gemini 3.5 Flash variants for better clarity.
- Introduced a new "Gemini 3.5 Flash (Medium)" variant with distinct configuration.
- Renamed "Low" tier to "Extra Low" for improved naming consistency.

Closes: #3949
2026-06-26 01:55:33 +08:00