forked from phoenix/litellm-mirror
fix(types/utils.py): fix linting errors
This commit is contained in:
parent
c982ec88d8
commit
5add6687cc
2 changed files with 7 additions and 9 deletions
|
@ -976,9 +976,7 @@ class ImageResponse(OpenAIImageResponse):
|
|||
else:
|
||||
created = int(time.time())
|
||||
|
||||
_data = {"data": data, "created": created}
|
||||
|
||||
super().__init__(**_data)
|
||||
super().__init__(created=created, data=data)
|
||||
self.usage = {"prompt_tokens": 0, "completion_tokens": 0, "total_tokens": 0}
|
||||
|
||||
def __contains__(self, key):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue