forked from phoenix/litellm-mirror
fix(proxy_server.py): fix import
This commit is contained in:
parent
2d845b12ed
commit
72ec488461
1 changed files with 8 additions and 1 deletions
|
@ -1310,7 +1310,14 @@ class ProxyConfig:
|
|||
config_file_path=config_file_path,
|
||||
)
|
||||
)
|
||||
litellm.callbacks = imported_list # type: ignore
|
||||
litellm.callbacks = imported_list # type: ignore
|
||||
else:
|
||||
litellm.callbacks = [
|
||||
get_instance_fn(
|
||||
value=callback,
|
||||
config_file_path=config_file_path,
|
||||
)
|
||||
]
|
||||
verbose_proxy_logger.debug(
|
||||
f"{blue_color_code} Initialized Callbacks - {litellm.callbacks} {reset_color_code}"
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue