add mildstone

This commit is contained in:
rigoni
2024-11-21 12:43:01 +01:00
parent 42960a01a2
commit e1618679eb
4 changed files with 18 additions and 15 deletions

View File

@@ -5,7 +5,7 @@ const defaultConfigurations = {
base: {
n: 1,
temperature: 0.5,
model: 'gpt-3.5-turbo'
model: 'gpt-4-turbo'
},
Complete: {
max_tokens: 512,
@@ -30,9 +30,9 @@ const defaultConfigurations = {
}
const settings = [
{ key: 'Complete', shortcut: 'Alt+C', status: 'enabled', type: 'Command' },
{ key: 'Improve', shortcut: 'Alt+I', status: 'enabled', type: 'Command' },
{ key: 'Ask', shortcut: 'Alt+A', status: 'enabled', type: 'Command' },
{ key: 'Complete', shortcut: 'Ctrl + Shift + C', status: 'enabled', type: 'Command' },
{ key: 'Improve', shortcut: 'Ctrl + Shift + I', status: 'enabled', type: 'Command' },
{ key: 'Ask', shortcut: 'Ctrl + Shift + A', status: 'enabled', type: 'Command' },
{ key: 'RequestConfiguration', value: defaultConfigurations, type: 'Configuration' }
]
@@ -89,6 +89,7 @@ async function setup() {
addListener('Improve')
addListener('Complete')
addListener('Ask')
console.log('LeafLLM service worker installed')
}
setup()