|
NeuralPlus 0.2.0
A small C++17 SDK for AI clients, sessions, tools, and tracing
|
#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< HttpHeader > | extra_headers |
| Additional or replacement headers; mark credential values sensitive. | |
Anthropic Messages API configuration.