NeuralPlus 0.2.0
A small C++17 SDK for AI clients, sessions, tools, and tracing
Loading...
Searching...
No Matches
neuralplus::ClientOptions Struct Reference

Dependencies and behavior shared by all AIClient implementations. More...

#include <client.hpp>

Public Attributes

Tools tools
 Immutable set of tools advertised to the configured model.
 
Tracers tracers
 Zero or more tracing/logging destinations.
 
std::shared_ptr< HttpTransporttransport
 Injectable transport; null selects CurlHttpTransport.
 
std::size_t max_model_rounds {8}
 Hard limit for provider requests in one generation.
 
bool parallel_tool_calls {true}
 Executes calls from one provider round concurrently when true.
 
std::size_t max_parallel_tool_calls {4}
 Maximum number of tool callbacks executing concurrently.
 
std::size_t max_tool_calls_per_generation {64}
 Maximum tool callbacks allowed across one generate call.
 
bool stop_on_tool_error {false}
 Returns after recording a failed tool batch instead of asking the model again.
 
bool capture_trace_payloads {false}
 Adds prompt/response/tool text to TraceEvent::payload when true.
 

Detailed Description

Dependencies and behavior shared by all AIClient implementations.

Examples
simple_session.cpp.

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