agentscope-ai / agentscope-ai/agentscope-java
[Bug]: AG-UI协议集成时,运行Agent异常时缺失RUN_STARED
- Linguagem predominante
- Java
- Estrelas
- 5.6k
- Forks
- 1.3k
- Merge médio
- 4d 12h
- PRs com merge (30d)
- 77
Descrição
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"}
Guia de contribuição
Avaliação
Esta issue ainda não foi avaliada.