|
pulsatrix 1.1.0
|
Settings for RunToolLoop(). More...
#include <tool_loop.hpp>

Public Attributes | |
| int | max_turns = 20 |
| The most requests to make. The loop stops there even if the model wants more tools. | |
| StreamCallbacks | stream |
| std::function< void(const Message &)> | on_message |
| Called with each message the loop adds: the model's answers and the tool results. | |
Settings for RunToolLoop().
| int pulsatrix::orch::ToolLoopOptions::max_turns = 20 |
The most requests to make. The loop stops there even if the model wants more tools.
| std::function<void(const Message&)> pulsatrix::orch::ToolLoopOptions::on_message |
Called with each message the loop adds: the model's answers and the tool results.
| StreamCallbacks pulsatrix::orch::ToolLoopOptions::stream |