agentscope-ai / agentscope-ai/agentscope-java

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

Open
#2,551 0 comments 0 reactions 0 assignees View on GitHub
area/build area/core/memory area/core/tool area/ext/integration bug
Dominant language
Java
Stars
5.6k
Forks
1.3k
Avg merge
4d 12h
Merged PRs (30d)
77

Description

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

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.