INNER CODE UNIT · Python

api_vector_search_options

marc-shade/world-intel-mcp · src/world_intel_mcp/dashboard/app.py:701

async def api_vector_search_options(request):
    """CORS preflight for vector search."""
    return JSONResponse(
        {},
        headers={
            "Access-Control-Allow-Origin": "*",
            "Access-Control-Allow-Methods": "POST, OPTIONS",
            "Access-Control-Allow-Headers": "Content-Type",
        },
    )


# ---------------------------------------------------------------------------
# App
# ---------------------------------------------------------------------------


@asynccontextmanager

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…