mirror of
https://github.com/BerriAI/litellm.git
synced 2026-11-25 22:20:43 +00:00
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 |
||
|---|---|---|
| .. | ||
| sdk | ||
| __init__.py | ||
| AGENTS.md | ||
| reporting.py | ||
| runner.py | ||
| test_runner.py | ||