implemented /clear and Ctrl+D and thinking

This commit is contained in:
Luxferre
2026-03-22 17:16:58 +02:00
parent 10fa5def68
commit 359afa64f4
5 changed files with 43 additions and 14 deletions
+3
View File
@@ -112,6 +112,9 @@ func (s *Sidekick) logIntermediate(msg Message) {
if !s.Config.LogIntermediate || s.IntermediateHandler == nil {
return
}
if msg.Reasoning != "" {
s.IntermediateHandler(fmt.Sprintf("Reasoning: %s", msg.Reasoning))
}
if msg.Content != "" {
s.IntermediateHandler(fmt.Sprintf("LLM Output: %s", msg.Content))
} else if len(msg.ToolCalls) > 0 {