Handle one client connection: serve requests in a keep-alive loop, rewritingthe Chat Completions system message on the way and reusing pooled upstreamconnections. SSE / chunked responses are streamed chunk-by-chunk. Everyrequest is recorded in the flow store for the monitor UI.
The built-in required opening sentence of the system message.
This is only the default: the actual sentence comes from the config(SYSTEM_PROMPT in .env / the environment, or --system-prompt), see@config.Config::system_prompt.