pub struct SessionModelEndpointTransportOverride {
pub base_url: Option<String>,
pub allow_openai: Option<bool>,
pub http_headers: BTreeMap<String, String>,
pub env_http_headers: BTreeMap<String, String>,
pub proxy: Option<String>,
pub client_cert: Option<String>,
pub client_key: Option<String>,
pub ca_bundle: Option<String>,
pub auth: Option<SessionEndpointTransportAuthMode>,
pub providers: Option<SessionEndpointProviders>,
}Expand description
the governing rules: the per-session model endpoint transport override,
mirroring the EndpointTransportConfig fields under MSP camelCase wire names (base_url->baseUrl, http_headers->httpHeaders`, and so on;
the mTLS path fields travel as strings, paths being a host concern). Every
field is optional; all absent is the default transport. Resolution against
managed egress policy is a later slice.
Fields§
§base_url: Option<String>Endpoint base URL. Configuration diagnostics never echo it.
allow_openai: Option<bool>Closed grant allowing an explicit OpenAI URL to reuse this block.
http_headers: BTreeMap<String, String>Literal provider request headers.
env_http_headers: BTreeMap<String, String>Provider header name -> environment variable name.
proxy: Option<String>An explicit HTTP proxy URL. Diagnostics never echo it.
client_cert: Option<String>Path to the mTLS client certificate (PEM).
client_key: Option<String>Path to the mTLS client private key (PEM).
ca_bundle: Option<String>Optional CA bundle (PEM) to trust for the server side.
auth: Option<SessionEndpointTransportAuthMode>Auth mode. Absent = bearer (the default transport behavior).
providers: Option<SessionEndpointProviders>Provider-scoped endpoints. meta merges over the fields above;
anthropic is the session’s own Anthropic endpoint. Absent: the fields
above, and the host’s Anthropic route.