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.
This commit is contained in:
@@ -138,7 +138,10 @@ itself.
|
||||
- The model's own configuration from Qoder's list goes with it.
|
||||
- It picks the reasoning effort from the model's own levels:
|
||||
- The nearest level to the one asked, the higher one on a tie.
|
||||
- The model's default when none is asked.
|
||||
- The model's default when none is asked, unless the request's
|
||||
`max_tokens` is 1024 or less: that is asked as "none" (since 0.2.55,
|
||||
plugins#643), since thinking would spend so small a budget on
|
||||
reasoning alone.
|
||||
- The lowest level for "none", when the model can't turn thinking off.
|
||||
- It picks the context window (`context_length`) from the model's own
|
||||
windows (Qoder's Context setting: 200K, 400K, 1M): the default while the
|
||||
|
||||
Reference in New Issue
Block a user