Commit Graph
1 Commits
Author SHA1 Message Date
yetone 58adeadfac qoder 0.2.55: a request whose max_tokens is 1024 or less does not think at the default (#643)
The same default as WorkBuddy's #643 (itspig): qoderBody's effortFor
thought at the model's default effort when no effort was asked, so a
title asked at a small max_tokens could spend it on reasoning. A request
that names no effort and a max_tokens (or max_completion_tokens) of 1024
or less is now asked as "none": thinking off, or the lowest level for a
model that always thinks. An asked effort, and a larger or unnamed budget,
are unchanged.

Run, at this head, on mote:
- packages/qoder: bun test, 365 pass, 0 fail; small-budget.test.mjs new.
- bun scripts/check.mjs qoder: ok.
- Broken by hand (the SMALL_BUDGET line in effortFor removed):
  small-budget.test.mjs is red, 1 pass, 1 fail.

Not tried: a real Qoder account. Qoder answers 401 to the owner's account
(plugins#181), and no Qoder report showed a small budget spent on
thinking; the change follows WorkBuddy's measured case.
Other siblings checked: trae, devin, commandcode, loomy and kiro send only
an effort the client asked or leave the server's default; none add one.
2026-11-03 02:25:46 +08:00