MCPcopy Create free account
hub / github.com/antirez/ds4 / input_queue_key

Function input_queue_key

ds4_eval.c:1810–1824  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1808 }
1809
1810 if (c.max_tokens > EVAL_MAX_CONTEXT) {
1811 fprintf(stderr,
1812 "ds4-eval: --tokens (%d) exceeds the %d token context cap\n",
1813 c.max_tokens, EVAL_MAX_CONTEXT);
1814 exit(2);
1815 }
1816 if (c.ctx_size > EVAL_MAX_CONTEXT) {
1817 fprintf(stderr,
1818 "ds4-eval: --ctx (%d) exceeds the %d token context cap\n",
1819 c.ctx_size, EVAL_MAX_CONTEXT);
1820 exit(2);
1821 }
1822 if (ds4_think_mode_enabled(c.think_mode) &&
1823 c.hard_limit_reply_budget >= c.max_tokens) {
1824 fprintf(stderr,
1825 "ds4-eval: --hard-limit-reply-budget (%d) must be smaller than --tokens (%d)\n",
1826 c.hard_limit_reply_budget, c.max_tokens);
1827 exit(2);

Callers 1

input_thread_mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected