Annotation Interface SubAgent
Defines a sub-agent of a workflow-based or supervisor agent.
-
Element Details
-
type
Class<?> typeThe class of the sub-agent.- Returns:
- the class of the sub-agent
- Default:
java.lang.Object.class
-
outputName
String outputNameName of the output variable that will hold the result of the agent invocation.- Returns:
- name of the output variable.
- Default:
""
-
summarizedContext
String[] summarizedContextNames of other agents participating in the definition of the context of this agent.- Returns:
- array of names of other agents participating in the definition of the context of this agent.
- Default:
{}
-