From 08d7400f37d969cdd310c95be6df876f70fc1615 Mon Sep 17 00:00:00 2001 From: rjmacarthy Date: Thu, 19 Sep 2024 09:38:54 +0100 Subject: [PATCH] fix num predict for review --- src/extension/conversation-history.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/extension/conversation-history.ts b/src/extension/conversation-history.ts index 8919aa31..cb97a690 100644 --- a/src/extension/conversation-history.ts +++ b/src/extension/conversation-history.ts @@ -155,7 +155,7 @@ export class ConversationHistory { const requestBody = createStreamRequestBody(provider.provider, { model: provider.modelName, - numPredictChat: 100, + numPredictChat: this.config.numPredictChat, temperature: this.temperature, messages: [ ...messages,