litellm/tests/rust-python-harness/strategies
maciej-berri 10cb9eb213
fix(vertex_ai): replace a labels header Python cannot encode instead of failing
With vertex_request_label_fields set, the proxy replaces every caller X-Vertex-AI-Labels, so Python
never encodes the caller's value and the call succeeds. The host's ASCII check held such a value back
first and failed the call with 'ascii' codec can't encode. For vertex_ai with label fields set, the
check now leaves the labels header to the replacement (dropping a value that is not text). Unset,
the header is still held back and fails as on main.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Bne5zQXAS7BUJoh6pGX7NQ
2026-11-17 07:00:12 +00:00
..
e2e_parity fix(vertex_ai): replace a labels header Python cannot encode instead of failing 2026-11-17 07:00:12 +00:00
trace_parity docs(agents): ban semicolons and colons in human-facing text (#45684) 2026-10-09 16:36:32 -07:00
unit_tests_parity refactor(rust): remove gateway, config, router, realtime, and trace-parity infrastructure 2026-09-16 16:00:07 +00:00
unit_tests_rust chore: move workspace packages under litellm (#51000) 2026-11-12 04:19:57 +00:00
__init__.py