mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-09 03:18:44 +00:00
rust(mistral): document that secret-manager resolution happens on the Python side
This commit is contained in:
parent
097bab9441
commit
657c062c3f
1 changed files with 4 additions and 0 deletions
|
|
@ -48,6 +48,10 @@ pub fn complete_url(api_base: Option<&str>) -> String {
|
|||
///
|
||||
/// Blank/whitespace values are treated as absent. Returns `CoreError::Auth`
|
||||
/// when no usable key is available.
|
||||
///
|
||||
/// Note: the env fallback only reads the process environment. Secret-manager
|
||||
/// backends (AWS/Azure/GCP/Vault) are resolved on the Python side and passed in
|
||||
/// via `api_key`; this fallback is a last resort for direct/standalone use.
|
||||
pub fn resolve_api_key(
|
||||
api_key: Option<&str>,
|
||||
env_lookup: &dyn Fn(&str) -> Option<String>,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue