Fix AIInsightsClient instantiation in OrchestrationSaga

Remove invalid 'calling_service_name' parameter from AIInsightsClient
constructor call. The client only accepts 'base_url' and 'timeout' parameters.

This resolves the TypeError that was causing orchestration workflow failures.
This commit is contained in:
Claude
2025-11-05 13:51:15 +00:00
parent 48e61f4970
commit 1a65679753

View File

@@ -87,8 +87,7 @@ class OrchestrationSaga:
self.suppliers_client = suppliers_client
self.recipes_client = recipes_client
self.ai_insights_client = ai_insights_client or AIInsightsClient(
base_url=ai_insights_base_url,
calling_service_name="orchestrator-service"
base_url=ai_insights_base_url
)
self.training_client = training_client
self.use_ai_enhancement = use_ai_enhancement