Skip to content

Discover model capabilities and allow manual reasoning profiles - #402

Merged
fylorn merged 4 commits into
mainfrom
codex/manual-model-capabilities
Nov 12, 2026
Merged

fylorn merged 4 commits into
mainfrom
codex/manual-model-capabilities

Conversation

@fylorn

@fylorn fylorn commented Nov 12, 2026 •

Copy link
Copy Markdown
Contributor

What this changes

Model capabilities are discovered automatically and can be overridden per provider and exact model ID. model_specs.<id>.reasoning_effort supplies an atomic effort profile, including explicit non-adjustable models and an optional default. Removing it restores upstream discovery.

Why

Relays that omit capability metadata leave Codex without effort choices, even when a model supports reasoning. Background inventory also discarded capabilities that the upstream did report. Related to ThinkWatchProject/ThinkWatch-Lite#438.

How it was verified

  • 1,276 relevant API, configuration, gateway, and control tests passed, including manual profiles without model lists, set/keep/reset and version conflicts, alias intersections with unknown candidates, protocol filtering, conditional reloads, and forwarding every manually advertised level to the actual model.
  • Clippy passed for the affected crates and all targets, including the TypeScript feature; formatting and generated configuration documentation checks passed.
  • A matching local Core binary passed the Lite control-plane integration tests and its generated-contract tests with the new source dependencies.

Only declared capabilities are retained from ordinary upstream metadata; instructions and tools retain the existing native-profile boundary. Credential-scoped native caching, request authorization, and model permission checks remain covered by the existing regressions.

Notes for review

Control API version 60 adds reported, manual, effective, and protocol-filtered effort fields. Effort edits explicitly distinguish keep, set, and automatic; omitted fields preserve existing profiles. Nonempty manual profiles imply reasoning support without manufacturing a boolean override. Unknown candidates never gain guessed effort choices.

Prepares Core 0.95.0, including release notes, the message-code manifest, and control API contract checks. Companion Lite PR ThinkWatchProject/ThinkWatch-Lite#439 will pin the published v0.95.0 tag before production packaging.

@fylorn
fylorn marked this pull request as ready for review November 12, 2026 13:01
@fylorn
fylorn merged commit a7f5713 into main Nov 12, 2026
7 checks passed
@fylorn
fylorn deleted the codex/manual-model-capabilities branch November 12, 2026 13:22
@github-actions github-actions Bot locked and limited conversation to collaborators Nov 12, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant