INNER CODE UNIT · Python
_create_app
omnirexflora-labs/omnicoreagent · src/omnicoreagent/serve/server.py:91
def _create_app(self) -> FastAPI:
"""
Create and configure the FastAPI application.
Returns:
Configured FastAPI application
"""
return create_omniserve_app(
agent=self.agent,
config=self.config,
title=self.title,
description=self.description,
background_manager=self.background_manager,
routers=self.routers,
)
def start(
self,