fix(utils.py): fix google ai studio timeout error raising

This commit is contained in:
Krrish Dholakia 2024-03-06 21:12:04 -08:00
parent f79ce63f05
commit ec79482612

View file

@ -7127,7 +7127,6 @@ def exception_type(
message=f"PalmException - {original_exception.message}", message=f"PalmException - {original_exception.message}",
model=model, model=model,
llm_provider="palm", llm_provider="palm",
request=original_exception.request,
) )
if "400 Request payload size exceeds" in error_str: if "400 Request payload size exceeds" in error_str:
exception_mapping_worked = True exception_mapping_worked = True