Skip to content

[Bug]: GENERATION_FAILED (fp: b27a1f89) #252

@huang123-gcj

Description

@huang123-gcj

Description

执行到最后一步,最终校对 + done;显示“好,我先调用 done 看看目前的语法状态,让检查器帮我定位剩余的问题。”,这个时候产生错误“Error invoking remote method 'codesign:v1:generate': CodesignError: 400 The reasoning_content in the thinking mode must be passed back to the API.”

Steps to reproduce

提了做海报的需求:
图片+以下提示词:把这个馒头做成诱人的海报:
暖心云朵馒头
90g*6
运城小麦,原味麦香,健康 0 添加;
3 折 12 道,54 万层劲道 Q 弹;
回弹紧实不塌陷,口感干爽不粘牙;
后续无其他动作

Expected behavior

生产图片预览

Actual behavior

Error invoking remote method 'codesign:v1:generate': CodesignError: 400 The reasoning_content in the thinking mode must be passed back to the API.

open-codesign version

0.1.4

Platform

macOS

OS version

25.2.0

Model provider (if relevant)

None

Error code

GENERATION_FAILED

Diagnostics bundle

Bundle saved locally at ~/Downloads/open-codesign-diagnostics-2026-04-28T05-20-26.zip. Attach it to this issue after submitting.

Logs

generationId: 'moi6f9ta-91553c',
  tool: 'str_replace_based_edit_tool',
  isError: false
}
[2026-04-28 13:19:46.820] [info]   (main:ipc) agent.tool_end {
  runId: 'moi6f9ta-91553c',
  generationId: 'moi6f9ta-91553c',
  tool: 'str_replace_based_edit_tool',
  isError: false
}
[2026-04-28 13:19:46.820] [info]   (main:ipc) agent.turn_end {
  runId: 'moi6f9ta-91553c',
  generationId: 'moi6f9ta-91553c',
  deltas: 0,
  tools: 3
}
[2026-04-28 13:19:46.820] [info]   (main:ipc) agent.turn_start { runId: 'moi6f9ta-91553c', generationId: 'moi6f9ta-91553c' }
[2026-04-28 13:19:46.820] [info]   (main:ipc) [context-prune] step=caps {
  runId: 'moi6f9ta-91553c',
  generationId: 'moi6f9ta-91553c',
  messages: 21,
  before: 35813,
  after: 35813,
  textLimit: 8192,
  toolInputLimit: 24576,
  toolResultLimit: 8192,
  window: 3
}
[2026-04-28 13:19:46.823] [info]   (chat-messages-ipc) chat.append {
  designId: 'e63c930e-b8a6-46fc-8b5f-b1c36e6b8756',
  seq: 111,
  kind: 'tool_call'
}
[2026-04-28 13:19:46.823] [info]   (chat-messages-ipc) chat.append {
  designId: 'e63c930e-b8a6-46fc-8b5f-b1c36e6b8756',
  seq: 112,
  kind: 'tool_call'
}
[2026-04-28 13:19:46.824] [info]   (chat-messages-ipc) chat.append {
  designId: 'e63c930e-b8a6-46fc-8b5f-b1c36e6b8756',
  seq: 113,
  kind: 'tool_call'
}
[2026-04-28 13:19:58.577] [info]   (diagnostics-ipc) diagnostics.reported {
  localId: 'mohmh687-sirgxp',
  code: 'GENERATION_FAILED',
  fingerprint: 'b27a1f89',
  persistedEventId: 5,
  bundlePath: '[path omitted]'
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingtriageAwaiting maintainer review

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions