| 128 | } |
| 129 | |
| 130 | static const char *tool_summary(ds4_help_tool tool) { |
| 131 | switch (tool) { |
| 132 | case DS4_HELP_DS4: |
| 133 | return "Chat with a local DwarfStar model, run one-shot prompts, inspect models, or coordinate distributed inference."; |
| 134 | case DS4_HELP_SERVER: |
| 135 | return "Serve one loaded DwarfStar model through OpenAI, Responses, Anthropic, and completion-compatible HTTP APIs."; |
| 136 | case DS4_HELP_AGENT: |
| 137 | return "Run the native terminal coding agent with live tools, session save/restore, and a responsive prompt while the model works."; |
| 138 | case DS4_HELP_BENCH: |
| 139 | return "Measure prefill, decode, context growth, and KV-cache size across repeatable context frontiers."; |
| 140 | case DS4_HELP_EVAL: |
| 141 | return "Run the built-in reasoning, math, science, and security evaluation harness with a live terminal UI."; |
| 142 | } |
| 143 | return ""; |
| 144 | } |
| 145 | |
| 146 | static void print_model_runtime(FILE *fp, const help_colors *c, |
| 147 | ds4_help_tool tool, bool full) { |