mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-09 22:31:41 +00:00
Every field of a multipart form arrives as a string, so `n` reached the provider as "2" and Bedrock Nova Canvas rejected the request with "expected type: Number, found: String". Restore the type the request schema declares at the boundary where the form is parsed, driven by the schema's own type hints so the helper covers any int- or float-typed field on any multipart endpoint. |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| test_azure_routes.py | ||
| test_endpoints.py | ||