INNER CODE UNIT · Python

start_async

omnirexflora-labs/omnicoreagent · src/omnicoreagent/serve/server.py:158

    async def start_async(
        self,
        host: Optional[str] = None,
        port: Optional[int] = None,
    ) -> None:
        """
        Start the server asynchronously.

        Useful for embedding in existing async applications.

        Args:
            host: Host to bind to (overrides config)
            port: Port to bind to (overrides config)
        """
        import uvicorn

        final_host = self.config.host if host is None else host
        final_port = self.config.port if port is None else port

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…