mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-26 19:24:27 +00:00
(test) proxy - async custom logger
This commit is contained in:
parent
d39dea7c7b
commit
c6d19046f2
4 changed files with 194 additions and 1 deletions
|
@ -500,7 +500,7 @@ def load_router_config(router: Optional[litellm.Router], config_file_path: str):
|
|||
password=cache_password
|
||||
)
|
||||
elif key == "callbacks":
|
||||
litellm.callbacks = [get_instance_fn(value=value)]
|
||||
litellm.callbacks = [get_instance_fn(value=value, config_file_path=config_file_path)]
|
||||
print_verbose(f"{blue_color_code} Initialized Callbacks - {litellm.callbacks} {reset_color_code}")
|
||||
elif key == "success_callback":
|
||||
litellm.success_callback = []
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue