test: mark mistral ocr resolve_api_key as rust-only

This commit is contained in:
Ishaan Jaff 2026-09-01 22:21:59 -07:00
parent 7f3f0d3f82
commit 01366d9d5b
No known key found for this signature in database

View file

@ -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>,