mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-09 22:31:41 +00:00
test: mark mistral ocr resolve_api_key as rust-only
This commit is contained in:
parent
7f3f0d3f82
commit
01366d9d5b
1 changed files with 1 additions and 0 deletions
|
|
@ -53,6 +53,7 @@ pub fn complete_url(api_base: Option<&str>) -> String {
|
|||
/// 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.
|
||||
// rust-only: Python resolves the key inside validate_environment
|
||||
pub fn resolve_api_key(
|
||||
api_key: Option<&str>,
|
||||
env_lookup: &dyn Fn(&str) -> Option<String>,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue