-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
Closed
Labels
enhancementNew feature or requestNew feature or request
Description
cc @krrishdholakia since you were working on exceptions
It's really hard to detect if there was a timeout exception when i use litellm
I want something like this - just an easy way to detect if there was a timeout error.
except Exception as e:
print(f"in replicate llama, got error {e}")
pass
if e == "FunctionTimedOut":
pass
else:
pytest.fail(f"Error occurred: {e}")
currently I need to go and understand how func_timeout works to catch the timeout error😭
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request