2 Commits
1.3.0 ... 1.3.1

Author SHA1 Message Date
Achiya Elyasaf
082afd778f Raise version 2023-12-05 11:00:37 +02:00
Achiya Elyasaf
dd19cd9fa3 Fixed the system context for the Complete command 2023-12-05 10:59:37 +02:00
2 changed files with 2 additions and 2 deletions

View File

@@ -42,5 +42,5 @@
"manifest_version": 3, "manifest_version": 3,
"name": "LeafLLM", "name": "LeafLLM",
"homepage_url": "https://github.com/achiyae/LeafLLM", "homepage_url": "https://github.com/achiyae/LeafLLM",
"version": "1.3.0" "version": "1.3.1"
} }

View File

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