From db116660a5858a73e6d107baf02ad25ef5d9c4be Mon Sep 17 00:00:00 2001 From: Matt Low Date: Wed, 13 Mar 2024 05:10:45 +0000 Subject: [PATCH] Removed tool usage logging to stdout --- pkg/lmcli/tools/tools.go | 4 ---- 1 file changed, 4 deletions(-) diff --git a/pkg/lmcli/tools/tools.go b/pkg/lmcli/tools/tools.go index d940a89..07dfa82 100644 --- a/pkg/lmcli/tools/tools.go +++ b/pkg/lmcli/tools/tools.go @@ -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 {