AchievableGoalValidator

class AchievableGoalValidator(agentName: String, agentClass: Class<*>, agentInstance: Any, requireInterfaceDeserializationAnnotations: Boolean) : AgentValidator

Validator that checks methods annotated with AchievesGoal. Specific check includes:

  • Verifying that @Action annotation is present on it.

Constructors

Link copied to clipboard
constructor(agentName: String, agentClass: Class<*>, agentInstance: Any, requireInterfaceDeserializationAnnotations: Boolean)

Functions

Link copied to clipboard
open override fun validate(agentScope: AgentScope): ValidationResult

Validate the agent and return the verification status accordingly.