agentscope-ai / agentscope-ai/agentscope-java

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

Ouverte
#2,551 0 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
area/build area/core/memory area/core/tool area/ext/integration bug
Langage dominant
Java
Étoiles
5.6k
Forks
1.3k
Merge moyen
4 j 12 h
PR mergées (30 j)
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"}

Guide de contribution

Ouvrir le guide de contribution

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.