diff options
| author | Grail Finder <wohilas@gmail.com> | 2025-12-12 14:07:10 +0300 |
|---|---|---|
| committer | Grail Finder <wohilas@gmail.com> | 2025-12-12 14:07:10 +0300 |
| commit | 9edda1fecf4d0fc4dc9ad92e008a986b74f50c80 (patch) | |
| tree | bcfe133ce83aced1ff71ac37a7471aa25f888b84 /main.go | |
| parent | 2e2e6e9f9cb87ab31fc7dc7e0e196ece884da4bd (diff) | |
Feat: llama.cpp model switch
Diffstat (limited to 'main.go')
| -rw-r--r-- | main.go | 17 |
1 files changed, 9 insertions, 8 deletions
@@ -9,14 +9,15 @@ import ( ) var ( - botRespMode = false - editMode = false - roleEditMode = false - injectRole = true - selectedIndex = int(-1) - currentAPIIndex = 0 // Index to track current API in ApiLinks slice - currentORModelIndex = 0 // Index to track current OpenRouter model in ORFreeModels slice - shellMode = false + botRespMode = false + editMode = false + roleEditMode = false + injectRole = true + selectedIndex = int(-1) + currentAPIIndex = 0 // Index to track current API in ApiLinks slice + currentORModelIndex = 0 // Index to track current OpenRouter model in ORFreeModels slice + currentLocalModelIndex = 0 // Index to track current llama.cpp model + shellMode = false // indexLine = "F12 to show keys help | bot resp mode: [orange:-:b]%v[-:-:-] (F6) | card's char: [orange:-:b]%s[-:-:-] (ctrl+s) | chat: [orange:-:b]%s[-:-:-] (F1) | toolUseAdviced: [orange:-:b]%v[-:-:-] (ctrl+k) | model: [orange:-:b]%s[-:-:-] (ctrl+l) | skip LLM resp: [orange:-:b]%v[-:-:-] (F10)\nAPI_URL: [orange:-:b]%s[-:-:-] (ctrl+v) | ThinkUse: [orange:-:b]%v[-:-:-] (ctrl+p) | Log Level: [orange:-:b]%v[-:-:-] (ctrl+p) | Recording: [orange:-:b]%v[-:-:-] (ctrl+r) | Writing as: [orange:-:b]%s[-:-:-] (ctrl+q)" indexLineCompletion = "F12 to show keys help | bot resp mode: [orange:-:b]%v[-:-:-] (F6) | card's char: [orange:-:b]%s[-:-:-] (ctrl+s) | chat: [orange:-:b]%s[-:-:-] (F1) | toolUseAdviced: [orange:-:b]%v[-:-:-] (ctrl+k) | model: [orange:-:b]%s[-:-:-] (ctrl+l) | skip LLM resp: [orange:-:b]%v[-:-:-] (F10)\nAPI_URL: [orange:-:b]%s[-:-:-] (ctrl+v) | Insert <think>: [orange:-:b]%v[-:-:-] (ctrl+p) | Log Level: [orange:-:b]%v[-:-:-] (ctrl+p) | Recording: [orange:-:b]%v[-:-:-] (ctrl+r) | Writing as: [orange:-:b]%s[-:-:-] (ctrl+q) | Bot will write as [orange:-:b]%s[-:-:-] (ctrl+x) | role_inject [orange:-:b]%v[-:-:-]" focusSwitcher = map[tview.Primitive]tview.Primitive{} |
