mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-25 18:54:30 +00:00
(test) proxy - async custom logger
This commit is contained in:
parent
0354d6d48f
commit
2bc583c2a6
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