fix(assistant): Assistant would not answer reponse

This commit is contained in:
Christopher 2023-06-25 12:22:16 -04:00
parent ba445f3eb8
commit 332a383344

View File

@ -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},
],
});