You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Error: 400 Missing required parameter: 'messages[2].reasoning_content'. on any Beam request #1073
❯ Error: 400 Missing required parameter: 'messages[2].reasoning_content'. This model needs the reasoning of
every earlier assistant message: send back the 'reasoning_content' returned with that message. If 're...
Type "continue" to try again. If the issue persists, contact support: https://commandcode.ai/discord
Trace ID: c4feb3d694a896a0b8f8d7d16ae4b68d
Model: reflection/beam:free (provider: vercel-ai-gateway), reasoningEffort: max
Error: 400 Missing required parameter: 'messages[47].reasoning_content'. This model needs the reasoning of every earlier assistant message: send back the 'reasoning_content' returned with that message.
Reproduction: multi-turn session on this model. The failure appears on a follow-up turn after an earlier assistant turn did substantial reasoning/generation (short trivial turns sometimes pass). Trace IDs available on request.
This matches the root cause analyzed in #877 (reasoning_content dropped when replaying prior assistant turns as history). The upstream only enforces the requirement once the prior turn produced real reasoning, which explains the intermittent nature.
Workaround in the meantime: switch to a model that does not return reasoning_content (e.g. a non-thinking model) for multi-turn sessions.
Activity
huizixin commentedon Nov 4, 2026
Adding another data point — this is reproducible on the hosted
reflection/beam:freemodel (via vercel-ai-gateway), not only BYOK/Beam.Environment:
reflection/beam:free(provider: vercel-ai-gateway),reasoningEffort: max400 Missing required parameter: 'messages[47].reasoning_content'. This model needs the reasoning of every earlier assistant message: send back the 'reasoning_content' returned with that message.Reproduction: multi-turn session on this model. The failure appears on a follow-up turn after an earlier assistant turn did substantial reasoning/generation (short trivial turns sometimes pass). Trace IDs available on request.
This matches the root cause analyzed in #877 (reasoning_content dropped when replaying prior assistant turns as history). The upstream only enforces the requirement once the prior turn produced real reasoning, which explains the intermittent nature.
Workaround in the meantime: switch to a model that does not return
reasoning_content(e.g. a non-thinking model) for multi-turn sessions.