mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-05 08:07:05 +00:00
fix: use precise tuple[str, str] type annotation for _PRESERVED_NONE_FIELDS
This commit is contained in:
parent
c071e01fb6
commit
f976a01fce
1 changed files with 1 additions and 1 deletions
|
|
@ -4565,7 +4565,7 @@ def validate_model_access(
|
|||
)
|
||||
|
||||
|
||||
_PRESERVED_NONE_FIELDS: List[tuple] = [
|
||||
_PRESERVED_NONE_FIELDS: List[tuple[str, str]] = [
|
||||
("message", "content"), # null when tool_calls present (issue #6677)
|
||||
("message", "role"), # always required by OpenAI spec
|
||||
("delta", "content"), # null in streaming chunks
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue