litellm/tests/rust-python-harness/strategies/e2e_parity/sdk
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
..
messages fix(vertex_ai): replace a labels header Python cannot encode instead of failing 2026-11-17 07:00:12 +00:00
responses feat(rust): encode LiteLLM response ids on native responses (#46572) 2026-10-18 20:52:34 -07:00