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

#include <providers.hpp>

Public Member Functions

 AnthropicConfig (std::string model_id)
 Creates Anthropic configuration for model_id.
 

Public Attributes

ModelDescriptor model
 Model ID, capabilities, limits, and data-driven provider options.
 
std::optional< std::string > api_key
 Explicit API key. When empty, ANTHROPIC_API_KEY is read once.
 
std::string base_url {"https://api.anthropic.com"}
 Anthropic API origin.
 
std::string api_version {"2023-06-01"}
 Value of the required anthropic-version header.
 
std::size_t default_max_output_tokens {1024}
 Fallback max_tokens value required by the Messages API.
 
std::vector< HttpHeaderextra_headers
 Additional or replacement headers; mark credential values sensitive.
 

Detailed Description


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