mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-25 05:54:53 +00:00
style: use builtin generic annotation
This commit is contained in:
parent
2a8e29cc0b
commit
2b94847364
1 changed files with 1 additions and 1 deletions
|
|
@ -115,7 +115,7 @@ class _CombinedChunkSplitter:
|
|||
chunk._hidden_params = {key: value for key, value in hidden_params.items() if key != "usage"}
|
||||
|
||||
@staticmethod
|
||||
def _split_mixed_reasoning_and_text(chunk: Any) -> List[Any]:
|
||||
def _split_mixed_reasoning_and_text(chunk: Any) -> list[Any]:
|
||||
if not _CombinedChunkSplitter._has_mixed_reasoning_and_text(chunk):
|
||||
return [chunk]
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue