Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
082afd778f | ||
|
|
dd19cd9fa3 |
@@ -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"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -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