mirror of
https://github.com/Hopiu/llm.git
synced 2026-04-29 09:24:46 +00:00
Better display of --tools-debug/--td
Refs https://github.com/simonw/llm/issues/1005#issuecomment-2878164610
This commit is contained in:
parent
d986f98416
commit
c586f389e1
1 changed files with 3 additions and 3 deletions
|
|
@ -768,7 +768,7 @@ def prompt(
|
|||
def debug_tool_call(_, tool_call, tool_result):
|
||||
click.echo(
|
||||
click.style(
|
||||
"Tool call: {}".format(tool_call),
|
||||
"Tool call: {}({})".format(tool_call.name, tool_call.arguments),
|
||||
fg="yellow",
|
||||
bold=True,
|
||||
),
|
||||
|
|
@ -776,8 +776,8 @@ def prompt(
|
|||
)
|
||||
click.echo(
|
||||
click.style(
|
||||
"Tool result: {}".format(tool_result),
|
||||
fg="yellow",
|
||||
" {}".format(tool_result.output),
|
||||
fg="green",
|
||||
bold=True,
|
||||
),
|
||||
err=True,
|
||||
|
|
|
|||
Loading…
Reference in a new issue