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
|
@ -1311,6 +1311,13 @@ class ProxyConfig:
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
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(
|
verbose_proxy_logger.debug(
|
||||||
f"{blue_color_code} Initialized Callbacks - {litellm.callbacks} {reset_color_code}"
|
f"{blue_color_code} Initialized Callbacks - {litellm.callbacks} {reset_color_code}"
|
||||||
)
|
)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue