Removed tool usage logging to stdout

This commit is contained in:
Matt Low 2024-03-13 05:10:45 +00:00
parent 32eab7aa35
commit db116660a5

View File

@ -2,7 +2,6 @@ package tools
import (
"fmt"
"os"
"git.mlow.ca/mlow/lmcli/pkg/lmcli/model"
)
@ -29,9 +28,6 @@ func ExecuteToolCalls(toolCalls []model.ToolCall, toolBag []model.Tool) ([]model
return nil, fmt.Errorf("Requested tool '%s' does not exist. Hallucination?", toolCall.Name)
}
// TODO: ability to silence this
fmt.Fprintf(os.Stderr, "\nINFO: Executing tool '%s' with args %s\n", toolCall.Name, toolCall.Parameters)
// Execute the tool
result, err := tool.Impl(tool, toolCall.Parameters)
if err != nil {