类 AllToolsDeniedEvent
java.lang.Object
io.agentscope.core.event.AgentEvent
io.agentscope.core.event.AllToolsDeniedEvent
Emitted during the acting phase when all tool calls from the most recent reasoning step were
denied (by user HITL confirmation or by permission rules).
Middlewares observing MiddlewareBase.onActing(io.agentscope.core.agent.Agent, io.agentscope.core.agent.RuntimeContext, io.agentscope.core.middleware.ActingInput, java.util.function.Function<io.agentscope.core.middleware.ActingInput, reactor.core.publisher.Flux<io.agentscope.core.event.AgentEvent>>) can detect
this event and emit a RequestStopEvent with
GenerateReason.ALL_TOOLS_DENIED to prevent the agent from
continuing to the next reasoning iteration.
If no middleware emits a stop, the agent continues reasoning as before (backward compatible).
-
构造器概要
构造器 -
方法概要
从类继承的方法 io.agentscope.core.event.AgentEvent
getCreatedAt, getId, getMetadata, getSource, toString, withMetadata, withSource
-
构造器详细资料
-
AllToolsDeniedEvent
-
-
方法详细资料
-
getType
- 指定者:
getType在类中AgentEvent
-
getDeniedToolCalls
Returns the tool calls that were denied.
-