forked from phoenix/litellm-mirror
fix otel test
This commit is contained in:
parent
4592d80f43
commit
b60361fca1
1 changed files with 1 additions and 1 deletions
|
@ -35,7 +35,7 @@ def initialize_callbacks_on_proxy(
|
|||
from litellm.proxy import proxy_server
|
||||
|
||||
_otel_settings = {}
|
||||
if "otel" in callback_settings:
|
||||
if isinstance(callback_settings, dict) and "otel" in callback_settings:
|
||||
_otel_settings = callback_settings["otel"]
|
||||
|
||||
open_telemetry_logger = OpenTelemetry(**_otel_settings)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue