Skip to main content

allowed_proxy_paths

Function allowed_proxy_paths 

Source
pub fn allowed_proxy_paths(key: &str) -> &'static [&'static str]
Expand description

The per-provider proxy path allowlist. Every static provider in the table is OpenAI-compatible today, so they share one catalog; the lookup is per-provider so a future non-uniform provider gets its own list instead of a widened shared one. Unknown providers get an empty allowlist (fail closed).