agentscope-ai / agentscope-ai/agentscope-java

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

Đang mở
#2,551 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
area/build area/core/memory area/core/tool area/ext/integration bug
Ngôn ngữ chính
Java
Star
5.6k
Fork
1.3k
Merge trung bình
4 ngày 12 giờ
Pull request đã merge (30 ngày)
77

Mô tả

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"}

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.