agentscope-ai / agentscope-ai/agentscope-java

[Bug]: AG-UI协议集成时,运行Agent异常时缺失RUN_STARED

未關閉
#2,551 0 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
area/build area/core/memory area/core/tool area/ext/integration bug
主要語言
Java
星號
5.6k
分支
1.3k
平均合併
4 天 12 小時
30 天內合併 PR
77

描述

data: {"type":"RUN_ERROR","threadId":"1a0aff482e30450b8565e4578c9d67ef","runId":"d9227fc1f3444f0a9404fd459c2e3a8e","message":"Agent is paused for human-in-the-loop confirmation: the following tool call(s) are in ASKING state and need your approval before the agent can continue: [execute (id=call_00_WA0jJewzx5qhzzRSyLUE3321)]. This call supplied no confirmation, so it cannot proceed.\nTo resume, send a follow-up message that carries a List under the metadata key \"agentscope_confirm_results\", e.g.:\n UserMessage.builder()\n .metadata(Map.of(Msg.METADATA_CONFIRM_RESULTS,\n List.of(new ConfirmResult(true, toolCall))))\n .build();\nTip: capture the ToolUseBlocks from the RequireUserConfirmEvent emitted when the agent paused.\nIf you did NOT expect a pending confirmation here, a previous run most likely paused on one of these tool calls and persisted that state under the same (agentId, sessionId); start a fresh session, clear the persisted state, or use an in-memory state store to begin clean.","code":"INVALID_INPUT_ERROR","timestamp":1785830527471}

data: {"type":"RUN_FINISHED","threadId":"1a0aff482e30450b8565e4578c9d67ef","runId":"d9227fc1f3444f0a9404fd459c2e3a8e"}

貢獻指南

開啟貢獻指南

評估

這個 Issue 還沒有評估資料。

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。