mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-25 18:54:30 +00:00
fix: fix linting errors
This commit is contained in:
parent
389a51e05d
commit
77068575d7
2 changed files with 2 additions and 2 deletions
|
@ -388,7 +388,7 @@ def process_response(
|
|||
|
||||
## Building RESPONSE OBJECT
|
||||
if len(result) > 1:
|
||||
model_response.choices[0].message.content = result # type :ignore
|
||||
model_response.choices[0].message.content = result # type: ignore
|
||||
|
||||
# Calculate usage
|
||||
prompt_tokens = len(encoding.encode(prompt, disallowed_special=()))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue