summaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
authorGrail Finder <wohilas@gmail.com>2026-02-10 11:05:09 +0300
committerGrail Finder <wohilas@gmail.com>2026-02-10 11:05:09 +0300
commit875de679cf4732bbd70361d826d65d9d8b190add (patch)
treee4ad90c2bdde747ad057e4e7d6e850c3173018fd /main.go
parent3b542421e35180db9b9f972ee973befc42f1a46f (diff)
parent37b98ad36cd7e63d96a190017b78fe35143a2e6a (diff)
Merge branch 'feat/char-secrets'
Diffstat (limited to 'main.go')
-rw-r--r--main.go19
1 files changed, 8 insertions, 11 deletions
diff --git a/main.go b/main.go
index c375d95..c112fac 100644
--- a/main.go
+++ b/main.go
@@ -8,17 +8,14 @@ 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
- 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) | 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: [orange:-:b]%s[-:-:-] (ctrl+v) | 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[-:-:-]"
+ boolColors = map[bool]string{true: "green", false: "red"}
+ botRespMode = false
+ editMode = false
+ roleEditMode = false
+ injectRole = true
+ selectedIndex = int(-1)
+ shellMode = false
+ indexLineCompletion = "F12 to show keys help | llm turn: [%s:-:b]%v[-:-:-] (F6) | chat: [orange:-:b]%s[-:-:-] (F1) | toolUseAdviced: [%s:-:b]%v[-:-:-] (ctrl+k) | model: [orange:-:b]%s[-:-:-] (ctrl+l) | skip LLM resp: [%s:-:b]%v[-:-:-] (F10)\nAPI: [orange:-:b]%s[-:-:-] (ctrl+v) | recording: [%s:-:b]%v[-:-:-] (ctrl+r) | writing as: [orange:-:b]%s[-:-:-] (ctrl+q) | bot will write as [orange:-:b]%s[-:-:-] (ctrl+x) | role injection (alt+7) [%s:-:b]%v[-:-:-]"
focusSwitcher = map[tview.Primitive]tview.Primitive{}
)