# Xiaomi MiMo Provider Profile Sends `reasoning_effort` as a top-level API parameter to the Xiaomi MiMo API. ## What it fixes The bundled Xiaomi provider profile in Hermes does not include a `build_api_kwargs_extras` method, so the `reasoning_effort` parameter from config is parsed but silently dropped. This plugin overrides that profile with the missing method. ## Mapping - `xhigh` → `high` (MiMo API only accepts low/medium/high) - `high` → `high` - `medium` → `medium` - `low` → `low` - `none`/empty → omitted ## Installation Deployed as a user plugin to `/opt/data/plugins/model-providers/xiaomi/`. User plugins load after bundled ones with last-writer-wins, so this persists across container restarts without modifying the image. ## Files - `plugins/model-providers/xiaomi/__init__.py` — Provider profile override