diff --git a/packages/ai-chat/src/common/orchestrator-chat-agent.ts b/packages/ai-chat/src/common/orchestrator-chat-agent.ts index 603d78712546f..13289399c8838 100644 --- a/packages/ai-chat/src/common/orchestrator-chat-agent.ts +++ b/packages/ai-chat/src/common/orchestrator-chat-agent.ts @@ -115,7 +115,7 @@ export class OrchestratorChatAgent extends AbstractStreamParsingChatAgent implem let agentIds: string[] = []; const responseText = await getTextOfResponse(response); // We use the previously generated, dedicated ID to log the orchestrator response before we forward the original request - const orchestratorRequestID = request.getDataByKey(OrchestatorRequestIDKey); + const orchestratorRequestId = request.getDataByKey(OrchestatorRequestIdKey); if (typeof orchestratorRequestID === 'string') { this.recordingService.recordResponse({ agentId: this.id,