fixed u/d in tui
This commit is contained in:
@@ -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
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user