mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-24 10:14:26 +00:00
fix(utils.py): fix linting erros
This commit is contained in:
parent
a070bee5be
commit
ec81b393e2
2 changed files with 2 additions and 2 deletions
|
@ -676,7 +676,7 @@ model_list:
|
|||
- model_name: my-paid-tier
|
||||
litellm_params:
|
||||
model: gpt-4
|
||||
api_key: sk-...
|
||||
api_key: my-api-key
|
||||
```
|
||||
|
||||
**Step 2: Generate a user key - enabling them access to specific models, custom model aliases, etc.**
|
||||
|
|
|
@ -3330,7 +3330,7 @@ def convert_to_model_response_object(response_object: Optional[dict]=None, model
|
|||
index = embedding.get("index", idx),
|
||||
object=embedding.get("object", "embedding")
|
||||
)
|
||||
data.append(embedding_obj)
|
||||
data.append(embedding_obj) # type: ignore
|
||||
model_response_object.data = data
|
||||
|
||||
if "usage" in response_object and response_object["usage"] is not None:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue