| 521 | opt(fp, c, "first 10", "./ds4-eval --questions 10 --trace eval.trace"); |
| 522 | opt(fp, c, "plain", "./ds4-eval --plain --nothink --tokens 512"); |
| 523 | } else { |
| 524 | opt(fp, c, "chat", "./ds4"); |
| 525 | opt(fp, c, "one shot", "./ds4 -p \"Explain mmap in C\""); |
| 526 | opt(fp, c, "long prompt", "./ds4 --think-max --prompt-file prompt.txt --ctx 393216"); |
| 527 | } |
| 528 | fputc('\n', fp); |
| 529 | } |
| 530 | |
| 531 | static void print_topic(FILE *fp, const help_colors *c, ds4_help_tool tool, const char *topic) { |
| 532 | if (streq(topic, "all")) { |
| 533 | print_model_runtime(fp, c, tool, true); |
| 534 | if (tool_has_topic(tool, "sampling")) print_sampling(fp, c, true, tool); |
| 535 | if (tool_has_topic(tool, "steering")) print_steering(fp, c); |
| 536 | print_distributed(fp, c); |
| 537 | if (tool == DS4_HELP_DS4) { |
| 538 | print_cli_specific(fp, c, true); |
| 539 | print_cli_commands(fp, c); |
| 540 | } else if (tool == DS4_HELP_SERVER) { |
| 541 | print_server_api(fp, c); |
| 542 | print_server_thinking(fp, c); |
| 543 | print_kv_cache(fp, c); |
no test coverage detected