Agents 1.4.0
Edge AI Agents SDK
Loading...
Searching...
No Matches
agents::LiveSessionConfig Struct Reference

Configuration for live AI sessions. More...

#include <live_client_interface.h>

Public Attributes

std::string model
 Model name (provider-specific format).
std::string system_instruction = "You are a helpful assistant and answer in a friendly tone."
 System instruction to steer the assistant.
TransportProtocol preferred_transport = TransportProtocol::WEBSOCKET
 Preferred transport protocol.
AudioFormat input_audio_format
 Input audio format specification.
AudioFormat output_audio_format
 Output audio format specification.
int connection_timeout_ms = 30000
 Connection timeout in milliseconds.
int keepalive_interval_ms = 30000
 Keepalive interval in milliseconds.
bool auto_reconnect = true
 Auto-reconnect on disconnect.
std::map< std::string, std::string > provider_options
 Provider-specific options (key-value pairs).

Detailed Description

Configuration for live AI sessions.

This is a minimal common configuration that works across all providers. Provider-specific implementations may extend this with additional options through the provider_options map.