|
NeoGraph 0.10.0
A C++17 Graph Agent Engine Library — LangGraph for C++
|
Configuration for schema-based provider. More...
#include <schema_provider.h>
Public Attributes | |
| std::string | api_key |
| API key (overrides env var if set). | |
| std::string | base_url_override |
If non-empty, overrides the schema's connection.base_url. Useful for test doubles and self-hosted OpenAI-compatible endpoints. | |
| std::string | default_model = "gpt-4o-mini" |
| Default model name. | |
| bool | prefer_libcurl = false |
| Switch the non-streaming HTTP transport to libcurl (HTTP/2. | |
| std::string | schema_path |
| Path to schema file, or built-in name ("openai", "claude", "gemini"). | |
| int | timeout_seconds = 60 |
| HTTP request timeout in seconds. | |
| bool | use_websocket = false |
Drive complete_stream over wss:// instead of HTTP/SSE. | |
Configuration for schema-based provider.
Definition at line 68 of file schema_provider.h.
| bool neograph::llm::SchemaProvider::Config::prefer_libcurl = false |
Switch the non-streaming HTTP transport to libcurl (HTTP/2.
Definition at line 95 of file schema_provider.h.
| bool neograph::llm::SchemaProvider::Config::use_websocket = false |
Drive complete_stream over wss:// instead of HTTP/SSE.
Currently supported only for the "openai-responses" schema — matches OpenAI's WebSocket mode at /v1/responses, which claims ~40% lower latency on agentic rollouts with 20+ tool calls (per developers.openai.com/api/docs/guides/websocket-mode). Throws on complete_stream for any other schema. Has no effect on complete_async / complete() (non-streaming path stays HTTP).
Definition at line 83 of file schema_provider.h.