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

A request to a provider. More...

#include <message.hpp>

Public Attributes

std::string model
 
std::string system
 
std::vector< Message > messages
 
std::vector< ToolSpec > tools
 
int64_t max_tokens = 4096
 
std::optional< double > temperature
 
bool allow_tool_calls = true
 Whether the model may call the tools. False sends them anyway, for the cache, and tells the model not to call any. A specific tool can't be forced: current Claude models reject that with HTTP 400.
 

Detailed Description

A request to a provider.

Member Data Documentation

◆ allow_tool_calls

bool pulsatrix::orch::ChatRequest::allow_tool_calls = true

Whether the model may call the tools. False sends them anyway, for the cache, and tells the model not to call any. A specific tool can't be forced: current Claude models reject that with HTTP 400.

◆ max_tokens

int64_t pulsatrix::orch::ChatRequest::max_tokens = 4096

◆ messages

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

◆ model

std::string pulsatrix::orch::ChatRequest::model

◆ system

std::string pulsatrix::orch::ChatRequest::system

◆ temperature

std::optional<double> pulsatrix::orch::ChatRequest::temperature

◆ tools

std::vector<ToolSpec> pulsatrix::orch::ChatRequest::tools

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