fix(anthropic.py): compatibility fix

This commit is contained in:
Krrish Dholakia 2024-05-11 19:51:29 -07:00
parent 6d67d6d5ad
commit f6c84f1aa6

View file

@ -254,13 +254,13 @@ class AnthropicChatCompletion(BaseLLM):
def process_response(
self,
model: str,
response: requests.Response | httpx.Response,
response: Union[requests.Response, httpx.Response],
model_response: ModelResponse,
stream: bool,
logging_obj: litellm.utils.Logging,
optional_params: dict,
api_key: str,
data: dict | str,
data: Union[dict, str],
messages: List,
print_verbose,
encoding,