pulsatrix 1.1.0
Loading...
Searching...
No Matches
pulsatrix::orch::ToolLoopResult Struct Reference

How a tool loop ended. More...

#include <tool_loop.hpp>

Collaboration diagram for pulsatrix::orch::ToolLoopResult:

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.
 

Detailed Description

How a tool loop ended.

Member Data Documentation

◆ hit_turn_limit

bool pulsatrix::orch::ToolLoopResult::hit_turn_limit = false

True if the loop stopped at max_turns while the model still wanted tools.

◆ last

ChatResponse pulsatrix::orch::ToolLoopResult::last

The last answer.

◆ messages

std::vector<Message> pulsatrix::orch::ToolLoopResult::messages

The whole conversation: the request's messages, then everything the loop added.

◆ turns

int pulsatrix::orch::ToolLoopResult::turns = 0

◆ usage

Usage pulsatrix::orch::ToolLoopResult::usage

Usage summed over every request.


The documentation for this struct was generated from the following file: