mirror of
https://github.com/Hopiu/llm.git
synced 2026-04-20 21:21:01 +00:00
parent
9650c5de10
commit
336948f8fe
1 changed files with 1 additions and 1 deletions
|
|
@ -794,7 +794,7 @@ def prompt(
|
|||
err=True,
|
||||
)
|
||||
if not click.confirm("Approve tool call?"):
|
||||
raise CancelToolCall()
|
||||
raise CancelToolCall("User cancelled tool call")
|
||||
|
||||
kwargs["before_call"] = approve_tool_call
|
||||
# Look up all those tools
|
||||
|
|
|
|||
Loading…
Reference in a new issue