MiMo-Code icon indicating copy to clipboard operation
MiMo-Code copied to clipboard

异常报错 "code": "invalid_type",

Open fantasticCHAO1 opened this issue 5 months ago • 1 comments

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

Image

Operating System

WSL

Terminal

No response

fantasticCHAO1 avatar Jun 12 '26 05:06 fantasticCHAO1

  • 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.
Image

问题现象

  • 该问题在多个会话中反复出现(至少 3 次)
  • 触发场景:代理尝试 spawn 子代理时,operation 参数被序列化为 JSON 字符串而非对象

Silas-02 avatar Jun 12 '26 07:06 Silas-02