Class AgentSkipped

java.lang.Object
dev.langchain4j.agentic.observability.AgentSkipped

public final class AgentSkipped extends Object
Notifies that an agent was skipped instead of being invoked, either because its activation condition was false or because it is optional and one of its arguments was missing.
  • Constructor Details

    • AgentSkipped

      public AgentSkipped(AgenticScope agenticScope, AgentInstance agent, String reason)
      Parameters:
      agenticScope - the scope of the agentic system invoking the agent
      agent - the skipped agent
      reason - why the agent was skipped
  • Method Details