From dd19cd9fa3f116619b0817944c6f223e6cc1083e Mon Sep 17 00:00:00 2001 From: Achiya Elyasaf <10044875+eggsterino@users.noreply.github.com> Date: Tue, 5 Dec 2023 10:59:37 +0200 Subject: [PATCH] Fixed the system context for the Complete command --- scripts/content.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/content.js b/scripts/content.js index 9b1fe2a..072831f 100644 --- a/scripts/content.js +++ b/scripts/content.js @@ -37,7 +37,7 @@ class OpenAIAPI { const data = { max_tokens: 512, messages: [ - { role: 'system', content: 'You are an assistant in a Latex editor' }, + { role: 'system', content: 'You are an assistant in a Latex editor that continues the given text. No need to rewrite the given text' }, { role: 'user', 'content': text } ], }