from fastapi import FastAPI from app.api.chat_completions import router as chat_router from app.api.files import router as files_router from app.api.health import router as health_router from app.api.responses import router as responses_router from app.config import get_settings from app.orchestration.runtime import Runtime settings = get_settings() runtime = Runtime(settings) app = FastAPI( title="GLM Visual Variable Runtime", version="0.1.0", description="OpenAI-compatible multimodal gateway for glm-5.2-visual-runtime.", ) app.include_router(health_router) app.include_router(files_router) app.include_router(responses_router) app.include_router(chat_router)