fixed some log dups for tool calling
This commit is contained in:
@@ -117,8 +117,6 @@ func (s *Sidekick) logIntermediate(msg Message) {
|
||||
}
|
||||
if msg.Content != "" {
|
||||
s.IntermediateHandler(fmt.Sprintf("LLM Output: %s", msg.Content))
|
||||
} else if len(msg.ToolCalls) > 0 {
|
||||
s.IntermediateHandler(fmt.Sprintf("Tool Call: %s", msg.ToolCalls[0].Function.Name))
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user