mirror of
https://github.com/BerriAI/litellm.git
synced 2026-11-25 22:20:43 +00:00
The optional keys of a Messages request body were listed by hand in the bridge host (_BODY_FIELDS) and again in the gateway (DEPLOYMENT_DEFAULT_PARAMS), next to the Rust struct that types them. MessagesOptionalParams now derives its field names, cache_control, safeguards and thread are typed fields instead of riding in extra, and both lists read the names from the struct. |
||
|---|---|---|
| .. | ||
| routes | ||
| __init__.py | ||
| test_cache.py | ||
| test_callbacks_legacy_python.py | ||
| test_model_capabilities.py | ||
| test_model_cost.py | ||
| test_preflight.py | ||
| test_redis_credentials.py | ||
| test_redis_events.py | ||
| test_route_groups.py | ||
| test_secret_manager.py | ||
| test_settings.py | ||