make succes_callback in Callable

This commit is contained in:
ishaan-jaff
2023-09-09 19:05:19 -07:00
parent cf3596a8b9
commit ff0e5c2967
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -1,9 +1,9 @@
import threading, requests
from typing import Callable, List, Optional, Dict
from typing import Callable, List, Optional, Dict, Union
from litellm.caching import Cache
input_callback: List[str] = []
success_callback: List[str] = []
success_callback: List[Union[str, Callable]] = []
failure_callback: List[str] = []
set_verbose = False
email: Optional[
+1 -1
View File
@@ -1,6 +1,6 @@
[tool.poetry]
name = "litellm"
version = "0.1.578"
version = "0.1.580"
description = "Library to easily interface with LLM API providers"
authors = ["BerriAI"]
license = "MIT License"