mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-08 22:21:35 +00:00
Fix: code quality tests
This commit is contained in:
parent
2b13c9aba2
commit
58eef291f9
1 changed files with 0 additions and 2 deletions
|
|
@ -202,8 +202,6 @@ class OpenRouterImageGenerationConfig(BaseImageGenerationConfig):
|
|||
completion_tokens_details = usage_data.get("completion_tokens_details", {})
|
||||
image_tokens = completion_tokens_details.get("image_tokens", 0)
|
||||
|
||||
text_tokens = prompt_tokens + (completion_tokens - image_tokens)
|
||||
|
||||
model_response.usage = ImageUsage(
|
||||
input_tokens=prompt_tokens,
|
||||
input_tokens_details=ImageUsageInputTokensDetails(
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue