style: use union syntax for control-param field to satisfy strict lint

This commit is contained in:
mateo-berri 2026-06-20 16:56:41 +00:00
parent 37c74f69a8
commit 4ab7562f86
No known key found for this signature in database

View file

@ -13,7 +13,7 @@ class LiteLLMControlParams(BaseModel):
govern client-side behavior (e.g. how the HTTP response stream is
re-chunked), so Bedrock rejects them as unknown fields."""
stream_chunk_size: Optional[int] = None
stream_chunk_size: int | None = None
LITELLM_CONTROL_PARAM_KEYS = frozenset(LiteLLMControlParams.model_fields)