Class SubAgentSpec
java.lang.Object
com.alibaba.cloud.ai.graph.agent.extension.interceptor.SubAgentSpec
Specification for creating a subagent.
This class defines the configuration for a custom subagent that can be used
with the SubAgentInterceptor. Each subagent has its own name, description,
system prompt, and optionally custom tools and interceptors.
-
Method Details
-
builder
-
getName
-
getDescription
-
getSystemPrompt
-
getModel
public org.springframework.ai.chat.model.ChatModel getModel() -
getTools
-
getInterceptors
-
isEnableLoopingLog
public boolean isEnableLoopingLog()
-