mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-07 08:26:10 +00:00
fix code qa checks
This commit is contained in:
parent
99ce3a24cc
commit
4fc4304f37
1 changed files with 1 additions and 2 deletions
|
|
@ -16,7 +16,6 @@ from litellm.types.utils import (
|
|||
FunctionCall,
|
||||
ModelResponse,
|
||||
ModelResponseStream,
|
||||
PromptTokensDetails,
|
||||
PromptTokensDetailsWrapper,
|
||||
Usage,
|
||||
)
|
||||
|
|
@ -309,7 +308,7 @@ class ChunkProcessor:
|
|||
|
||||
return reasoning_tokens
|
||||
|
||||
def calculate_usage(
|
||||
def calculate_usage( # noqa: PLR0915
|
||||
self,
|
||||
chunks: List[Union[Dict[str, Any], ModelResponse]],
|
||||
model: str,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue