mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-26 19:24:27 +00:00
fix otel test
This commit is contained in:
parent
475866f40b
commit
7e8af27527
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