feat(web): add Xiaomi MiMo native search (rescue of #5687) - #5693
Conversation
Signed-off-by: hexin <372726039@qq.com>
Signed-off-by: hexin <372726039@qq.com>
Signed-off-by: CodeWhale Bot <bot@codewhale.net> # Conflicts: # CHANGELOG.md # crates/config/src/route/capabilities.rs # crates/config/src/route/tests.rs # crates/tui/CHANGELOG.md # crates/tui/src/client/provider_native_search.rs
|
Claude finished @Hmbown's task in 1m 32s —— View job Reviewing PR #5693
ReviewReviewed Correctness — no issues found.
Provider/model/route safety (EPIC #2608 invariant) — good.
Reuse/simplification — no duplicated logic; the new code follows the exact shape of the sibling adapters ( Tests — adequate: one unit test on the request-body shape ( Docs/changelog — Note on verification: I was not able to run No blocking issues found. This looks safe to merge pending green CI. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: d39ed157be
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
|
|
||
| ### Added | ||
|
|
||
| - Add provider-native web search for documented Xiaomi MiMo 2.5 Pro and 2.5 |
There was a problem hiding this comment.
Restore the human contributor’s commit credit
This rescued change is authored and committed solely by Codex <codex@openai.com>, has no Co-authored-by trailer for h3c-hexin, and the original human-authored commit cf8f4b74 is not in this commit’s ancestry. Mentioning the contributor only in the commit prose does not preserve durable Git authorship; retain the original commit or add the canonical identity from .github/AUTHOR_MAP.
AGENTS.md reference: AGENTS.md:L102-L106
Useful? React with 👍 / 👎.
… native search Rescue merge of abb9978 (Pinvou feat/moonshot-kimi-provider-native-search, PR Hmbown#5686) onto current main (142 ahead). Contributor head preserved verbatim as the second parent; conflicts resolved following the landed native-search adapter pattern (Hmbown#5682/Hmbown#5683/Hmbown#5690/Hmbown#5691/Hmbown#5693): main's Mimo/Zai/ModelStudio/ DeepSeek adapters and the post-fallback domain-constraint/budget plumbing stay, the Kimi module + Moonshot dispatch and capability wiring join them. Signed-off-by: CodeWhale Bot <bot@codewhale.net>
Summary
mimo-v2.5-pro,mimo-v2.5) through the chat/completions endpoint with the documentedweb_searchtool (max_keyword,force_search,limit),tool_choice: auto, and thinking disabled.Reconciliation notes: the adapter gate now admits Openai, Anthropic, Xai, XiaomiMimo, Zai, ModelStudio Token Plan, DeepSeek, and DeepSeek-CN together; route capability arms and tests from all four sibling slices coexist; changelog entries retained and regenerated in sync.
No-Issue: partial delivery tracked by #5681; this slice must not close the umbrella issue.
Supersedes #5687 (which stays credited to h3c-hexin).