Fixed the system context for the Complete command
This commit is contained in:
@@ -37,7 +37,7 @@ class OpenAIAPI {
|
|||||||
const data = {
|
const data = {
|
||||||
max_tokens: 512,
|
max_tokens: 512,
|
||||||
messages: [
|
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 }
|
{ role: 'user', 'content': text }
|
||||||
],
|
],
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user