litellm/tests/unit/rust_bridge/host
maciej-berri ad7ac784aa
fix(vertex_ai): mint vertex messages tokens natively as google-auth does
- Send every token request through python requests' proxy and CA
  bundle rules, verifying against the host's certifi bundle by default.
- Exchange external accounts (file, url, executable, AWS metadata and
  explicit AWS) at STS natively, reading only access_token and
  expires_in; a missing token refreshes once more, then raises
  main's ValueError.
- Refresh authorized users with google-auth's form post.
- Raise Python's AttributeError/TypeError crashes for non-dict JSON.
- Keep one login cache per model, as Python's per-model config does.
- Warn when a model's supported_regions override the location.
- Word a TLS close before headers as a disconnect, for vertex_ai only.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Bne5zQXAS7BUJoh6pGX7NQ
2026-11-16 23:05:16 +00:00
..
routes fix(vertex_ai): mint vertex messages tokens natively as google-auth does 2026-11-16 23:05:16 +00:00
__init__.py refactor(rust_bridge): route Python state reads through host modules (#45689) 2026-10-11 14:10:16 -07:00
test_cache.py feat(messages): serve azure ai foundry messages on rust only (#51721) 2026-11-14 13:40:38 -08:00
test_callbacks_legacy_python.py feat(messages): serve bedrock invoke messages on rust only (#51330) 2026-11-15 16:58:31 -08:00
test_model_capabilities.py feat(messages): serve bedrock invoke messages on rust only (#51330) 2026-11-15 16:58:31 -08:00
test_model_cost.py fix(cost): keep a deployment's per-second video price over the catalog row's flat price (#51688) 2026-11-15 12:04:41 -08:00
test_preflight.py chore: move workspace packages under litellm (#51000) 2026-11-12 04:19:57 +00:00
test_redis_credentials.py feat(redis): extend the native Redis foundation for the store families (#50169) 2026-11-06 12:30:07 +09:00
test_redis_events.py refactor(router): count the whole router_usage family on the native store (#50862) 2026-11-13 03:22:28 +00:00
test_route_groups.py refactor(auth): decide route rules in Rust (#51531) 2026-11-16 18:55:32 +09:00
test_secret_manager.py refactor(rust_bridge): route every Rust-to-Python call through host modules (#50822) 2026-11-11 01:57:54 +00:00
test_settings.py fix(vertex_ai): port request labels, regional cost location and beta-gated field stripping to Rust Messages 2026-11-16 19:24:42 +00:00