base.py
Source: sunholo/agents/fastapi/base.py
Functions
create_fastapi_app(origins=[''], origin_regex='https://(.\.)?sunholo\.com')
Creates and configures a FastAPI app for GenAI with Socket.IO integration.
Args: image_qna_stream_fn: Streaming Q&A function (likely from gemini.genai) image_qna_fn: Non-streaming Q&A function (likely from gemini.genai)
Returns: FastAPI: The configured FastAPI app instance.