While #3548000: Add possibility to run a tool at a specific order → would take care of forcing providers to use a tool, sometimes we might not know when we want a tool to run, but we do know that the agent should run it before its finished.
An example would be for instance a validation agent, even if the instructions are completely off what it should be doing, should still use the validation tool to decline the instructions.
We can do this outside of provider methods, by having a deterministic check at the end of the agent run and if the tool was not used, we do not end the agent, but add another user message with a predfined configurable message.
Active
1.2
Code
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.