implemented /clear and Ctrl+D and thinking
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user