From 558d73a858e5d110d5938dcd4568ef3fdbaa0787 Mon Sep 17 00:00:00 2001 From: Enrico Ros Date: Tue, 14 Jan 2025 21:24:49 -0800 Subject: [PATCH] AIX: only stream 'conversation' messages in dev mode --- src/modules/aix/client/aix.client.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/aix/client/aix.client.ts b/src/modules/aix/client/aix.client.ts index 45658d389..6d437b178 100644 --- a/src/modules/aix/client/aix.client.ts +++ b/src/modules/aix/client/aix.client.ts @@ -560,7 +560,7 @@ async function _aixChatGenerateContent_LL( streaming: getLabsDevNoStreaming() ? false : aixStreaming, // [DEV] disable streaming if set in the UX (testing) ...(getLabsDevMode() && { connectionOptions: { - debugDispatchRequestbody: true, // [DEV] Debugging the request without requiring a server restart + debugDispatchRequestbody: aixContext.name === 'conversation', // [DEV] Debugging the request without requiring a server restart }, }), }, {