mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-10 22:41:41 +00:00
make succes_callback in Callable
This commit is contained in:
parent
cf3596a8b9
commit
ff0e5c2967
2 changed files with 3 additions and 3 deletions
|
|
@ -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,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"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue