litellm/tests/unit/rust_bridge/host/routes
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
..
__init__.py refactor(rust-bridge): move the route host modules under host/routes (#46786) 2026-10-15 18:27:06 -07:00
test_chat_completions.py refactor(rust-bridge): let each route host pick the body params (#46787) 2026-10-15 18:27:06 -07:00
test_messages.py fix(vertex_ai): mint vertex messages tokens natively as google-auth does 2026-11-16 23:05:16 +00:00
test_ocr.py refactor(rust-bridge): move the route host modules under host/routes (#46786) 2026-10-15 18:27:06 -07:00
test_responses.py refactor(rust-bridge): move the route host modules under host/routes (#46786) 2026-10-15 18:27:06 -07:00