Skip to content
Discussion options

You must be logged in to vote

It's fun seeing your response now as I just finished working and pushing this which allows sequential tool calling. It allows not only having multiple tool calls in a single message but also one tool call after another in multiple messages, if the model wants to do so.

Try updating to 5.4.6, chances are this is already implementing what you need. With this, you should be able to remove the necessity for a stop word as OllamaSharp runs an internal recursion on the messages and will automatically stop the moment the AI model does not request any more tool calls.

Replies: 1 comment 8 replies

Comment options

You must be logged in to vote
8 replies
@Rpgdudester
Comment options

@awaescher
Comment options

@Rpgdudester
Comment options

@awaescher
Comment options

Answer selected by Rpgdudester
@awaescher
Comment options

@Rpgdudester
Comment options

@Rpgdudester
Comment options

@awaescher
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants