From 51a7589fbf3b619f7507c16a2f08a55eafcf675a Mon Sep 17 00:00:00 2001 From: hailin Date: Fri, 6 Feb 2026 19:45:38 -0800 Subject: [PATCH] fix(agents): export EVALUATION_RULE_REPOSITORY from AgentsModule The AdminEvaluationRuleController in ConversationModule needs the EVALUATION_RULE_REPOSITORY token. Even though AgentsModule is @Global(), Symbol-based providers must be explicitly exported to be available in other modules. Co-Authored-By: Claude Opus 4.6 --- .../src/infrastructure/agents/agents.module.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/services/conversation-service/src/infrastructure/agents/agents.module.ts b/packages/services/conversation-service/src/infrastructure/agents/agents.module.ts index 179c154..06b19ce 100644 --- a/packages/services/conversation-service/src/infrastructure/agents/agents.module.ts +++ b/packages/services/conversation-service/src/infrastructure/agents/agents.module.ts @@ -108,6 +108,7 @@ const AnthropicClientProvider = { exports: [ CoordinatorAgentService, EvaluationGateService, + EVALUATION_RULE_REPOSITORY, // Export specialists for potential direct use PolicyExpertService, AssessmentExpertService,