Skip to content

refactor(ai): centralize provider reasoning rules - #3627

Merged
wsp1911 merged 1 commit into
GCWing:mainfrom
wsp1911:dev-omen
Oct 30, 2026
Merged

wsp1911 merged 1 commit into
GCWing:mainfrom
wsp1911:dev-omen

Conversation

@wsp1911

@wsp1911 wsp1911 commented Oct 30, 2026

Copy link
Copy Markdown
Collaborator

Centralize provider and model reasoning rules so request construction, models.dev projection, and fallback descriptors share one capability map.

  • Add provider-specific mappings for DeepSeek, GLM, DashScope, SiliconFlow, Claude, Gemini, and Codex.
  • Preserve structurally valid reasoning config when provider metadata or presets are unresolved.
  • Cover format fallback and documented effort and budget fields with tests.

Centralize provider and model reasoning rules so request construction, models.dev projection, and fallback descriptors share one capability map.

- Add provider-specific mappings for DeepSeek, GLM, DashScope, SiliconFlow, Claude, Gemini, and Codex.
- Preserve structurally valid reasoning config when provider metadata or presets are unresolved.
- Cover format fallback and documented effort and budget fields with tests.
@wsp1911
wsp1911 merged commit 1784e14 into GCWing:main Oct 30, 2026
13 checks passed
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.

1 participant