mirror of
https://github.com/open-webui/open-webui
synced 2025-06-15 10:51:13 +00:00
refac
This commit is contained in:
parent
e1168139a6
commit
ad51b0166c
@ -434,6 +434,7 @@ app.state.LICENSE_METADATA = None
|
|||||||
########################################
|
########################################
|
||||||
|
|
||||||
if not ENABLE_OTEL:
|
if not ENABLE_OTEL:
|
||||||
|
if ENABLE_OTEL:
|
||||||
from open_webui.utils.telemetry.setup import setup as setup_opentelemetry
|
from open_webui.utils.telemetry.setup import setup as setup_opentelemetry
|
||||||
|
|
||||||
setup_opentelemetry(app=app, db_engine=engine)
|
setup_opentelemetry(app=app, db_engine=engine)
|
||||||
|
Loading…
Reference in New Issue
Block a user