mirror of
https://github.com/BerriAI/litellm.git
synced 2026-12-02 01:28:38 +00:00
Builds a frozen LiteLLMControlParams once at the top of completion() from kwargs and carries it as litellm_params["control"] through get_litellm_params. all_litellm_params now derives its control entries from the dataclass fields, replacing the literal stream_chunk_size entry, and also denylists the control key itself. get_sync_custom_stream_wrapper and get_async_custom_stream_wrapper take a keyword-only litellm_params argument in the base config and all seven provider overrides, passed from both llm_http_handler call sites. Nothing reads control yet |
||
|---|---|---|
| .. | ||
| chat | ||
| embed | ||
| __init__.py | ||