litellm/tests/rust-python-harness
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
..
cli test: move 76 live top-level tests to offline unit and integration coverage (#45352) 2026-10-08 10:33:35 -07:00
shared chore: move workspace packages under litellm (#51000) 2026-11-12 04:19:57 +00:00
strategies fix(vertex_ai): mint vertex messages tokens natively as google-auth does 2026-11-16 23:05:16 +00:00
__init__.py refactor(tests): restructure rust python harness around strategy definitions (#39628) 2026-09-03 21:15:01 -07:00
__main__.py test: add interactive Rust Python parity harness (#39419) 2026-09-02 15:51:08 -07:00
AGENTS.md test(rust): add native vs Python parity harness for responses (#46567) 2026-10-18 20:52:33 -07:00
conftest.py wip 2026-09-14 11:48:24 -07:00