| 14 | namespace dflash::common { |
| 15 | |
| 16 | struct 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. |
nothing calls this directly
no outgoing calls
no test coverage detected