-
Notifications
You must be signed in to change notification settings - Fork 254
Open
Description
LlmProvider supports custom endpoint and access_key, but not HTTP headers. This is needed in case a provider mandates non-standard headers for authentication or telemetry.
archgw/crates/common/src/configuration.rs
Lines 254 to 267 in c4a4f3f
| pub struct LlmProvider { | |
| pub name: String, | |
| pub provider_interface: LlmProviderType, | |
| pub access_key: Option<String>, | |
| pub model: Option<String>, | |
| pub default: Option<bool>, | |
| pub stream: Option<bool>, | |
| pub endpoint: Option<String>, | |
| pub port: Option<u16>, | |
| pub rate_limits: Option<LlmRatelimit>, | |
| pub usage: Option<String>, | |
| pub routing_preferences: Option<Vec<RoutingPreference>>, | |
| pub cluster_name: Option<String>, | |
| } |
Metadata
Metadata
Assignees
Labels
No labels