|
pulsatrix 1.1.0
|
How a tool loop ended. More...
#include <tool_loop.hpp>

Public Attributes | |
| std::vector< Message > | messages |
| The whole conversation: the request's messages, then everything the loop added. | |
| ChatResponse | last |
| The last answer. | |
| int | turns = 0 |
| Usage | usage |
| Usage summed over every request. | |
| bool | hit_turn_limit = false |
| True if the loop stopped at max_turns while the model still wanted tools. | |
How a tool loop ended.
| bool pulsatrix::orch::ToolLoopResult::hit_turn_limit = false |
True if the loop stopped at max_turns while the model still wanted tools.
| ChatResponse pulsatrix::orch::ToolLoopResult::last |
The last answer.
| std::vector<Message> pulsatrix::orch::ToolLoopResult::messages |
The whole conversation: the request's messages, then everything the loop added.
| int pulsatrix::orch::ToolLoopResult::turns = 0 |