mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-06 08:16:43 +00:00
refactor(anthropic.py): fix linting error
This commit is contained in:
parent
edda2d9293
commit
78efe027b2
1 changed files with 1 additions and 1 deletions
|
|
@ -247,7 +247,7 @@ def completion(
|
|||
],
|
||||
content=None,
|
||||
)
|
||||
model_response.choices[0].message = _message
|
||||
model_response.choices[0].message = _message # type: ignore
|
||||
else:
|
||||
model_response.choices[0].message.content = text_content # type: ignore
|
||||
model_response.choices[0].finish_reason = map_finish_reason(
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue