mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-27 11:43:54 +00:00
fix(proxy_server.py): support list as well as direct input for custom callbacks
This commit is contained in:
parent
72ec488461
commit
71f772d2f5
1 changed files with 1 additions and 1 deletions
|
@ -1314,7 +1314,7 @@ class ProxyConfig:
|
||||||
else:
|
else:
|
||||||
litellm.callbacks = [
|
litellm.callbacks = [
|
||||||
get_instance_fn(
|
get_instance_fn(
|
||||||
value=callback,
|
value=value,
|
||||||
config_file_path=config_file_path,
|
config_file_path=config_file_path,
|
||||||
)
|
)
|
||||||
]
|
]
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue