-
Your Name authored
Using app.add_middleware() with async function directly broke the startup flow. Reverted to using @app.middleware("http") decorator which properly wraps the async function as BaseHTTPMiddleware. Dashboard context middleware now runs LAST in the decorator registration order, which means it executes FIRST on requests, after SessionMiddleware. Boot flow works correctly again: providers are loaded, models are retrieved from providers.jsonc8767df6