mirror of
https://github.com/BerriAI/litellm.git
synced 2026-11-26 22:30:11 +00:00
OCR built optional_params from a per-provider allowlist, so any field a provider's Rust config did not list was dropped without an error. OCR now projects the request like chat and Responses: every field that isn't LiteLLM-owned reaches the provider (unknown ones through compose_body), and the only owned names it forwards are req_format and max_response_bytes. Credentials already travel as ConnectionArguments. A field that isn't JSON can't be sent and is rejected instead of dropped. The OCR allowlist, ArgumentSpec and the wire wrappers around them are gone. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| test_callbacks.py | ||
| test_cohere.py | ||
| test_dispatch.py | ||
| test_guardrails.py | ||
| test_lifecycle.py | ||
| test_passthrough.py | ||
| test_requests.py | ||