Skip to content

[Bug/错误]: mimo模型要求必须完整回传 reasoning_content 字段,否则 API 将返回 400 错误 #1654

@junerver

Description

@junerver

Pre-submission Checklist / 提交前检查

  • I have searched the existing issues and this bug has not been reported / 我已搜索现有 issues,此 Bug 尚未被报告
  • I have read the documentation / 我已阅读文档
  • I am using the latest version of AxonHub / 我正在使用 AxonHub 的最新版本

FAQ Check / FAQ 检查

  • I have checked the FAQ and this bug is not covered there / 我已查阅 FAQ,此 Bug 未被覆盖

Bug Description / Bug 描述

详情可见:https://platform.xiaomimimo.com/docs/zh-CN/usage-guide/passing-back-reasoning_content

现在在使用axonhub作为网关转发时,似乎没有进行该适配,导致reasoning_content没有正确回传给上流api接口,触发400错误

Steps to Reproduce / 复现步骤

使用axonhub接入 mimo api,进行对话,使用工具后出现400错误:
API Error: 400 data:{"error":{"code":"400","message":"Param Incorrect","param":"The reasoning_content in the thinking mode must be passed back to the API.","type":""}}

直接使用claude code 接入mimo api,正常对话,可以正常使用工具

Expected Behavior / 期望行为

axonhub可以正确的处理reasoning_content,可以实现对mimo的转发

Error Message / 错误消息

Operating System / 操作系统

Windows / Windows

AxonHub Version / AxonHub 版本

win 11

Usage Scenario / 使用场景

Claude Code

API Format / API 格式

Anthropic - Messages (/v1/messages) / Anthropic Messages

Channel Type / 渠道类型

Custom/Other / 自定义/其他

Logs / 日志

Additional Context / 其他补充信息

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions