fix(proxy_server.py): support list as well as direct input for custom callbacks

This commit is contained in:
Krrish Dholakia
2024-02-10 20:38:09 -08:00
parent 72ec488461
commit 71f772d2f5
+1 -1
View File
@@ -1314,7 +1314,7 @@ class ProxyConfig:
else:
litellm.callbacks = [
get_instance_fn(
value=callback,
value=value,
config_file_path=config_file_path,
)
]