@ConfigurationpublicclassRoutingAgentConfig{@BeanpublicRoutingAgentcustomerServiceRouter(ChatModelchatModel){// 咨询类 AgentReactAgentconsultationAgent=ReactAgent.builder().name("consultation_agent").description("Handle consultation requests").chatModel(chatModel).systemPrompt("You are a consultation specialist...").build();// 技术支持 AgentReactAgenttechnicalAgent=ReactAgent.builder().name("technical_agent").description("Handle technical support").chatModel(chatModel).systemPrompt("You are a technical support engineer...").build();// 投诉处理 AgentReactAgentcomplaintAgent=ReactAgent.builder().name("complaint_agent").description("Handle customer complaints").chatModel(chatModel).systemPrompt("You are a complaint resolution specialist...").build();// 构建路由规则List<AgentRoutingRule>rules=List.of(AgentRoutingRule.builder().category("consultation").agent(consultationAgent).keywords(List.of("咨询","询问","了解","想知道")).build(),AgentRoutingRule.builder().category("technical").agent(technicalAgent).keywords(List.of("报错","故障","问题","无法","错误")).build(),AgentRoutingRule.builder().category("complaint").agent(complaintAgent).keywords(List.of("投诉"