Skip to content

Exit early from a tool call #2000

Answered by lgrammel
TheBinaryGuy asked this question in Help

You must be logged in to vote

you could have a tool without an execute method. then when the finishReason is tool call, you can check the tool calls to see if there are any for that specific tool, and execute them separately

Replies: 1 comment 6 replies

You must be logged in to vote
6 replies
@TheBinaryGuy

@lgrammel

Answer selected by TheBinaryGuy
@TheBinaryGuy

@TheBinaryGuy

@khanakia

@TheBinaryGuy

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
3 participants