fixed u/d in tui

This commit is contained in:
Luxferre
2026-03-22 18:17:11 +02:00
parent 359afa64f4
commit 31b7e7042b
2 changed files with 7 additions and 2 deletions
+5 -1
View File
@@ -421,7 +421,11 @@ func (m model) Update(msg tea.Msg) (tea.Model, tea.Cmd) {
} }
m.textarea, tiCmd = m.textarea.Update(msg) m.textarea, tiCmd = m.textarea.Update(msg)
m.viewport, vpCmd = m.viewport.Update(msg)
if _, ok := msg.(tea.KeyMsg); !ok {
m.viewport, vpCmd = m.viewport.Update(msg)
}
return m, tea.Batch(tiCmd, vpCmd) return m, tea.Batch(tiCmd, vpCmd)
} }
+2 -1
View File
@@ -23,7 +23,8 @@ port = 8080
[models.ollama] [models.ollama]
# model_id = "Jackrong/Qwen3.5-2B-Claude-4.6-Opus-Reasoning-Distilled-GGUF:Q4_K_M" # model_id = "Jackrong/Qwen3.5-2B-Claude-4.6-Opus-Reasoning-Distilled-GGUF:Q4_K_M"
model_id = "LiquidAI/LFM2.5-1.2B-Thinking-GGUF:Q4_K_M" model_id = "unsloth/Qwen3.5-0.8B-GGUF:Q8_0"
# endpoint = "http://127.0.0.1:11434/v1"
endpoint = "http://127.0.0.1:8080/v1" endpoint = "http://127.0.0.1:8080/v1"
api_key = "" api_key = ""
temperature = 0.6 temperature = 0.6