MCPcopy Create free account
hub / github.com/Luce-Org/lucebox-hub / DaemonLoopArgs

Class DaemonLoopArgs

server/src/common/daemon_loop.h:16–20  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

14namespace dflash::common {
15
16struct DaemonLoopArgs {
17 int stream_fd = -1;
18 int chunk = 2048; // chunked-prefill chunk size (forwarded to backend)
19 int max_ctx = 16384; // max context (forwarded to backend for overflow check)
20};
21
22// Boots the model (via backend.print_ready_banner()), and services stdin
23// commands until `quit`, `exit`, or EOF. Returns 0 on clean shutdown.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected