mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-28 04:04:31 +00:00
fix(anthropic.py): compatibility fix
This commit is contained in:
parent
e2b8883d4c
commit
2b1c22f088
1 changed files with 2 additions and 2 deletions
|
@ -254,13 +254,13 @@ class AnthropicChatCompletion(BaseLLM):
|
||||||
def process_response(
|
def process_response(
|
||||||
self,
|
self,
|
||||||
model: str,
|
model: str,
|
||||||
response: requests.Response | httpx.Response,
|
response: Union[requests.Response, httpx.Response],
|
||||||
model_response: ModelResponse,
|
model_response: ModelResponse,
|
||||||
stream: bool,
|
stream: bool,
|
||||||
logging_obj: litellm.utils.Logging,
|
logging_obj: litellm.utils.Logging,
|
||||||
optional_params: dict,
|
optional_params: dict,
|
||||||
api_key: str,
|
api_key: str,
|
||||||
data: dict | str,
|
data: Union[dict, str],
|
||||||
messages: List,
|
messages: List,
|
||||||
print_verbose,
|
print_verbose,
|
||||||
encoding,
|
encoding,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue