Files
plugins/packages/commandcode/CHANGELOG.md
T
yetone 38ef050204 commandcode 0.1.22: Beam is sent each earlier reply's reasoning back (EDwinpzy)
Reflection's Beam (reflection/beam:free) answered a fresh one-turn chat
and turned the second turn away with 400 "Missing required parameter:
'messages[N].reasoning_content'", a reply another model made included;
it took the request once each earlier assistant message had something
there (EDwinpzy on magpie's Discord, magpie 0.1.2717, through
/v1/chat/completions and /v1/responses alike).

The Provider API's list says nothing of it (Beam's entry is id, name,
context_length and supported_endpoints, read 2026-11-03), so:
- a model matching reflection/beam has reasoning_content on every
  assistant message: its own when it has some, the thinking sent back as
  reasoning (moved, not duplicated), else "." (a blank one, which magpie
  sends tool turns with, is replaced too: whitespace may read as missing);
- any other model the Provider API refuses with a 400 asking for
  reasoning_content is asked once more with it filled, and is filled from
  then on (in-process).
Other models' requests go as they came.

Run at this head (mote, bun 1.4.2): bun test in packages/commandcode,
HOME=$(mktemp -d) as pr.yml does: 101 pass, 0 fail. bun scripts/check.mjs
commandcode: ok.
Broken by hand: reasoning-back.test.mjs against the old index.mjs: 4 of
7 fail (both of the reporter's two-turn shapes, the reasoning/blank case
and the learned model get 400); the three "goes as it came" pass.
Not tried: a real Beam request. The one Command Code key on this machine
answers 401, so the placeholder "." and the refusal's JSON around the
reporter's words are not checked against Beam itself. Go's /alpha/generate
path is unchanged and not tried with Beam.
2026-11-03 02:15:45 +08:00

31 lines
1.6 KiB
Markdown

# Changelog
## 0.1.22
- Reflection's Beam (`reflection/beam:free`) is sent each earlier assistant
message's reasoning in `reasoning_content`: its own when the history kept
it, the thinking sent back as `reasoning`, else a period. Beam answered a
one-turn chat and turned the second turn away with 400 "Missing required
parameter: 'messages[N].reasoning_content'", a reply another model made
included (EDwinpzy on magpie's Discord). Another model the Provider API
turns away the same way is asked once more with it filled, and is sent it
from then on. Other models' requests go as they came.
## 0.1.20
- The Credits window of a Go, GOAT or Pro account says credits, not
dollars: "0.20 / 70.00 credits". Command Code counts those plans in
usage-value units ("on Go, GOAT and Pro, credits are usage-value units",
docs/resources/usage-limits, read 2026-10-31). GOAT's 70 credits a month
are the "up to $100" its pricing page now says on a $100 model like Ling
3.1 Flash, and $70 on GLM-5.2; Pro's 80 are "up to $110". The 5-hour and
weekly caps billing/credits returns (GOAT's 14 and 35) are in the same
units, so the month stays 70 and 80, as the official CLI's table has it,
and the card no longer calls it a dollar pool (plugins #556).
- On those plans, bought and free credits (dollars at model cost) are said
beside the month ("+ $5.00 extra") and no longer added to a pool of
another unit. Max, Ultra and Teams Pro, where a credit is a dollar, keep
the CLI's pool in dollars.
- Provider is pay as you go: its $15 a month carries no credits, so its card
shows the balance and no longer a "$x / $15.00" month.