From 01366d9d5b40ec44563f88cee7ef837169fcb064 Mon Sep 17 00:00:00 2001 From: Ishaan Jaff Date: Tue, 1 Sep 2026 22:21:59 -0700 Subject: [PATCH] test: mark mistral ocr resolve_api_key as rust-only --- .../crates/core/src/providers/mistral/ocr/transformation.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/litellm-rust/crates/core/src/providers/mistral/ocr/transformation.rs b/litellm-rust/crates/core/src/providers/mistral/ocr/transformation.rs index dc720cc4244..d944ea4e501 100644 --- a/litellm-rust/crates/core/src/providers/mistral/ocr/transformation.rs +++ b/litellm-rust/crates/core/src/providers/mistral/ocr/transformation.rs @@ -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,