Skip to content

[codex] Centralize provider capability matching#66

Merged
Wangnov merged 1 commit into
mainfrom
codex/provider-capabilities
Apr 30, 2026
Merged

[codex] Centralize provider capability matching#66
Wangnov merged 1 commit into
mainfrom
codex/provider-capabilities

Conversation

@Wangnov
Copy link
Copy Markdown
Owner

@Wangnov Wangnov commented Apr 29, 2026

Summary

#64 and #65 are now merged into main, and this branch has been rebased on top of the updated main. The PR diff is now the follow-up architecture refactor only.

  • Adds utils::provider_profiles as the shared home for provider endpoint currency rules, model currency fallbacks, model-name extraction, and context-window matching.
  • Wires usage currency detection to the shared provider helpers while preserving the existing auto-detection priority.
  • Wires token context-window resolution and config defaults to the same shared provider profile table.
  • Moves shared matching tests into the provider profile module, including MiniMax, DeepSeek, Kimi/Moonshot, Qwen/DashScope, Volcengine, GLM, Tencent, and Xiaomi MiMo coverage.

Refs #63, #64, #65.

Validation

  • make ci

@Wangnov Wangnov force-pushed the codex/provider-capabilities branch from 6596eac to 3771dc1 Compare April 30, 2026 00:49
@Wangnov Wangnov marked this pull request as ready for review April 30, 2026 00:49
@Wangnov Wangnov merged commit 7e00c38 into main Apr 30, 2026
5 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