Skip to content

Commit 43bbedc

Browse files
committed
feat(autogen-dashboard): wire in MAF DevUI style overrides
Call install_devui_ui_overrides(app) from maf_starter.devui_overrides during legacy dashboard app creation so the FastAPI dashboard picks up the same DevUI UI customizations as the active MAF path.
1 parent db1c818 commit 43bbedc

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

autogen_dashboard/app.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
)
2626
from autogen_dashboard.session_runner import SessionService
2727
from autogen_starter.providers import ProviderConfigError
28+
from maf_starter.devui_overrides import install_devui_ui_overrides
2829

2930

3031
DEFAULT_CORS_ORIGINS = ("http://127.0.0.1:8000", "http://localhost:8000")
@@ -52,6 +53,7 @@ def create_app() -> FastAPI:
5253
static_dir = Path(__file__).with_name("static")
5354
if static_dir.exists():
5455
app.mount("/static", StaticFiles(directory=static_dir), name="static")
56+
install_devui_ui_overrides(app)
5557

5658
@app.get("/healthz", response_model=HealthResponse)
5759
async def healthz() -> HealthResponse:

0 commit comments

Comments
 (0)