Exit early from a tool call #2000
Answered
by
lgrammel
TheBinaryGuy
asked this question in
Help
-
Hi, when using Currently, I'm using |
Beta Was this translation helpful? Give feedback.
Answered by
lgrammel
Jun 18, 2024
Replies: 1 comment 6 replies
-
Currently there isn't. What's your use case? Why would you want to exit early? |
Beta Was this translation helpful? Give feedback.
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
you could have a tool without an
execute
method. then when thefinishReason
is tool call, you can check the tool calls to see if there are any for that specific tool, and execute them separately