MiMo-Code
MiMo-Code copied to clipboard
异常报错 "code": "invalid_type",
Description
对话时报错:Delegating...
- Error The actor tool was called with invalid arguments: [ { "code": "invalid_type", "expected": "object", "path": [ "operation" ], "message": "Invalid input: expected object, received string" } ]. Please rewrite the input so it satisfies the expected schema. ctrl+x down view subagents
- Thought: 541ms ~ Delegating...
- Error The actor tool was called with invalid arguments: [ { "code": "invalid_type", "expected": "object", "path": [ "operation" ], "message": "Invalid input: expected object, received string" } ]. Please rewrite the input so it satisfies the expected schema.
Plugins
No response
OpenCode version
No response
Steps to reproduce
No response
Screenshot and/or share link
Operating System
WSL
Terminal
No response
- OS: WSL Ubuntu 26.02
- MiMoCode 版本: 0.1.0
- 使用的 Provider: MiMo Auto
- 使用的模型: mimo-v2.5-pro
错误日志
~ Delegating...
- Error The actor tool was called with invalid arguments: [ { "code": "invalid_type", "expected": "object", "path": [ "operation" ], "message": "Invalid input: expected object, received string" } ]. Please rewrite the input so it satisfies the expected schema.
问题现象
- 该问题在多个会话中反复出现(至少 3 次)
- 触发场景:代理尝试 spawn 子代理时,operation 参数被序列化为 JSON 字符串而非对象