diff --git a/vscode/src/chat/chat-view/ChatController.ts b/vscode/src/chat/chat-view/ChatController.ts index 945a4cf91b81..86e2e4a39a07 100644 --- a/vscode/src/chat/chat-view/ChatController.ts +++ b/vscode/src/chat/chat-view/ChatController.ts @@ -832,7 +832,7 @@ export class ChatController implements vscode.Disposable, vscode.WebviewViewProv recorder.setIntentInfo({ userSpecifiedIntent: - manuallySelectedIntent ?? this.featureCodyExperimentalOneBox ? 'auto' : 'chat', + manuallySelectedIntent ?? (this.featureCodyExperimentalOneBox ? 'auto' : 'chat'), detectedIntent: detectedIntent, detectedIntentScores: detectedIntentScores, }) diff --git a/vscode/webviews/chat/Transcript.tsx b/vscode/webviews/chat/Transcript.tsx index e69ce07d6a94..e8f3986c78ee 100644 --- a/vscode/webviews/chat/Transcript.tsx +++ b/vscode/webviews/chat/Transcript.tsx @@ -350,8 +350,8 @@ const TranscriptInteraction: FC = memo(props => { const commonProps = { editorValue, - intent, - intentScores, + preDetectedIntent: intent, + preDetectedIntentScores: intentScores, manuallySelectedIntent: intentFromSubmit || manuallySelectedIntent.intent ||