Bastion 24f04ad6f8 Xiaomi MiMo provider profile - sends reasoning_effort to MiMo API
The bundled Xiaomi profile lacks build_api_kwargs_extras, so reasoning_effort
was parsed from config but silently dropped. This user plugin overrides the
profile with the missing method.

Mapping: xhigh->high, high->high, medium->medium, low->low, none->omit
2026-05-18 14:58:08 -07:00

843 B

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

  • xhighhigh (MiMo API only accepts low/medium/high)
  • highhigh
  • mediummedium
  • lowlow
  • 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