From d986f984160b786636c9940a77e851bd976ba531 Mon Sep 17 00:00:00 2001 From: Simon Willison Date: Tue, 13 May 2025 16:20:59 -0700 Subject: [PATCH] Better output for --ta/--tools-approve Refs https://github.com/simonw/llm/issues/1005#issuecomment-2878163701 --- llm/cli.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/llm/cli.py b/llm/cli.py index 69f501e..0c5e8e9 100644 --- a/llm/cli.py +++ b/llm/cli.py @@ -789,7 +789,7 @@ def prompt( def approve_tool_call(_, tool_call): click.echo( click.style( - "Tool call: {}".format(tool_call), + "Tool call: {}({})".format(tool_call.name, tool_call.arguments), fg="yellow", bold=True, ),