Files
plugins/packages/qoder/package.json
T
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

29 lines
716 B
JSON

{
"name": "@magpie-community/opencode-qoder-auth",
"version": "0.2.55",
"description": "Qoder and QwenWork (千问办公) subscriptions in OpenCode and magpie: qoder.com, qoder.cn, gateway.qwenwork.cn and the enterprise flagship, VPC and dedicated domains",
"type": "module",
"main": "./index.mjs",
"exports": "./index.mjs",
"files": [
"index.mjs",
"README.md",
"LICENSE-CLIProxyAPI"
],
"keywords": [
"opencode",
"opencode-plugin",
"magpie",
"qoder",
"qoder-cn",
"qwenwork",
"千问办公"
],
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/magpie-community/plugins.git",
"directory": "packages/qoder"
}
}