From 332a383344aba5b37ca890b2b4a8a606b96a0ef2 Mon Sep 17 00:00:00 2001 From: Christopher Date: Sun, 25 Jun 2023 12:22:16 -0400 Subject: [PATCH] fix(assistant): Assistant would not answer reponse --- extension.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/extension.js b/extension.js index 7ddc229..8209c85 100644 --- a/extension.js +++ b/extension.js @@ -101,8 +101,7 @@ async function handleQuestionSubmission(panel, question, selectedUris) { model: "gpt-3.5-turbo-16k", messages: [ { role: "system", content: "Answer the coding questions, only provide the code and documentation, explaining the solution after providing the code." }, - { role: "user", content: question }, - { role: "assistant", content: fileContents } + { role: "user", content: question + "\n" + fileContents}, ], });