Fixed the system context for the Complete command

This commit is contained in:
Achiya Elyasaf
2023-12-05 10:59:37 +02:00
parent eb2a9ae867
commit dd19cd9fa3

View File

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