Skip to main content

Module runtime_serve

Module runtime_serve 

Source
Expand description

HTTP sidecar entry for Zagens and headless hosts (D6 runtime-server).

Structs§

RuntimeApiOptions
RuntimeServeCli
CLI for the zagens-runtime sidecar binary (HTTP only — no ratatui / full CLI).

Functions§

resolve_cors_origins
Resolve additional CORS origins from flags, env, and config.
run
Run the HTTP runtime sidecar until shutdown.
run_from_args
Parse argv and run — used by the deepseek-runtime binary.
run_http_server
Start the runtime API server.
run_or_exit
Binary main helper — maps clean shutdown to exit code 0.