Bug Description
Hi, I’m running into an issue when using the Xiaomi provider.
Basically when send something to chat I get this error
ERROR: POST https://token-plan-ams.xiaomimimo.com/v1/chat/completions
Caused by:
0: 400 Bad Request Reason: data:{"error":{"code":"400","message":"Param Incorrect","param":"The reasoning_content in the thinking mode must be passed back to the API.","type":""}}
1: Invalid Status Code: 400
Steps to Reproduce
- Configure Xiaomi's provider and choose mimo-V2.5-pro model
- Send a chat completion request.
- The request fails with the 400 error above.
Expected Behavior
The chat/request should succeed
Actual Behavior
When sending a chat completion request via the Xiaomi provider, the API returns a 400 Bad Request with:
`{"error":{"code":"400","message":"Param Incorrect","param":"The reasoning_content in the thinking mode must be passed back to the API.","type":""}
Maybe read this documentation from Xiaomi could help:
https://platform.xiaomimimo.com/docs/en-US/usage-guide/passing-back-reasoning_content
Forge Version
2.12.14
Operating System & Version
macOS 26.4
AI Provider
Other
Model
mimo-v2.5-pro
Installation Method
curl -fsSL https://forgecode.dev/cli | sh
Configuration
Bug Description
Hi, I’m running into an issue when using the Xiaomi provider.
Basically when send something to chat I get this error
Steps to Reproduce
Expected Behavior
The chat/request should succeed
Actual Behavior
When sending a chat completion request via the Xiaomi provider, the API returns a 400 Bad Request with:
`{"error":{"code":"400","message":"Param Incorrect","param":"The reasoning_content in the thinking mode must be passed back to the API.","type":""}
Maybe read this documentation from Xiaomi could help:
https://platform.xiaomimimo.com/docs/en-US/usage-guide/passing-back-reasoning_content
Forge Version
2.12.14
Operating System & Version
macOS 26.4
AI Provider
Other
Model
mimo-v2.5-pro
Installation Method
curl -fsSL https://forgecode.dev/cli | sh
Configuration