openclaw - 💡(How to fix) Fix feat: Add Xiaomi MiMo Web Search provider

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…

Add native support for Xiaomi MiMo's Web Search as a web_search provider in OpenClaw.

Root Cause

Add native support for Xiaomi MiMo's Web Search as a web_search provider in OpenClaw.

RAW_BUFFERClick to expand / collapse

Body:

Summary

Add native support for Xiaomi MiMo's Web Search as a web_search provider in OpenClaw.

Background

Xiaomi MiMo API offers a built-in Web Search tool via the chat completions API. It's activated as a tool type "web_search" in the request body:

"tools": [{
  "type": "web_search",
  "max_keyword": 3,
  "force_search": true,
  "user_location": {
    "type": "approximate",
    "country": "China",
    "city": "Wuhan"
  }
}]
The model returns synthesized answers with URL citations in the response annotations field.

**API Details**
Docs: https://platform.xiaomimimo.com/static/docs/usage-guide/tool-calling/web-search.md
Supported models: mimo-v2.5-pro, mimo-v2.5, mimo-v2-pro, mimo-v2-omni, mimo-v2-flash
Auth: Same API key as MiMo models (XIAOMI_API_KEY / tp-xxx for Token Plan)
Pricing: ¥25/1K requests (China), $5/1K requests (Overseas)
Prerequisite: Web Search Plugin must be enabled on the MiMo platform (Console → Plugin Management)
**Why**
The existing Xiaomi plugin (extensions/xiaomi) only supports model inference. Users in China (where SearXNG, DuckDuckGo, etc. are blocked) currently have no working web_search provider without a proxy. MiMo Web Search is a natural fit since it's accessible directly from China and users already have the API key configured.

**Proposed Integration**
Provider ID: xiaomi
Plugin: reuse existing xiaomi plugin (no new plugin needed)
Config path: plugins.entries.xiaomi.config.webSearch (optional overrides for max_keyword, force_search, user_location)
The provider should call the MiMo chat completions API with web_search tool and extract citations from the response
**References**
Xiaomi MiMo Web Search docs: https://platform.xiaomimimo.com/static/docs/usage-guide/tool-calling/web-search.md
Existing search provider implementations: extensions/kimi, extensions/minimax

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

openclaw - 💡(How to fix) Fix feat: Add Xiaomi MiMo Web Search provider