Skip to main content

serve

Method
This is a method of the AgentOSProtocol class in the protocols module.
Start the AgentApp server.

Signature

def serve(host: Optional[str], port: Optional[int], reload: bool) -> None

Parameters

host
Optional
Host address to bind to (default: “0.0.0.0”)
port
Optional
Port number to listen on (default: 8000)
reload
bool
default:"False"
Enable auto-reload for development (default: False) **kwargs: Additional server configuration

Source

View on GitHub

praisonaiagents/app/protocols.py at line 58