mirror of
https://github.com/tiennm99/litellm.git
synced 2026-08-17 02:23:32 +00:00
refactor(anthropic.py): fix linting error
This commit is contained in:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user