Files
hermes-agent/agent
unsupportedpastels 32b7af1bab fix(bedrock): reasoning GPTs replay only the reasoning they stamped on Converse
Putting the gpt-6 family under `strip` fixes the Claude -> GPT rejection
(#140177), but it also drops GPT's own reasoning from every turn before the
in-flight loop. That rewrites the replayed history at each new user turn, so
the prompt cache misses every turn of a GPT-only session. It also leaves
unstamped turns inside the loop verbatim: a Claude -> GPT fallback mid tool
loop (the AnthropicBedrock path stamps nothing) still sends Claude's thinking
as reasoningText, and GPT rejects it.

Give reasoning GPTs their own `issuer` policy: turns the answering model
stamped replay verbatim, and every other turn replays no reasoning, inside
the in-flight loop too. This also covers GPT -> other-GPT switches, where
another model's sealed blobs stall the stream and its readable text is
rejected.

Also folds the walrus resend arm in _bedrock_converse_call into a plain
`or` chain; the code-health line cap still holds.
2026-10-20 12:54:49 -04:00
..
2026-10-09 17:34:38 +02:00
2026-10-09 17:34:38 +02:00
2026-10-09 17:34:38 +02:00
2026-10-09 17:34:36 +02:00
2026-10-09 17:34:38 +02:00
2026-10-09 17:34:38 +02:00
2026-10-08 19:28:23 +02:00
2026-10-09 17:34:38 +02:00
2026-10-09 17:34:38 +02:00
2026-10-08 19:28:23 +02:00
2026-10-09 17:34:36 +02:00
2026-10-09 17:34:36 +02:00
2026-10-09 17:34:38 +02:00
2026-10-09 17:34:38 +02:00
…
2026-10-09 17:34:36 +02:00
2026-10-09 17:34:38 +02:00
2026-10-08 19:54:07 +02:00
2026-10-08 19:54:07 +02:00
2026-10-09 17:34:38 +02:00
2026-10-09 17:34:36 +02:00
2026-10-09 17:34:36 +02:00
2026-10-09 17:34:38 +02:00
2026-10-09 17:34:38 +02:00
2026-10-09 17:34:38 +02:00
2026-10-09 17:34:38 +02:00
2026-10-09 17:34:38 +02:00
2026-10-08 19:54:07 +02:00
2026-10-09 17:34:38 +02:00
2026-10-09 17:34:38 +02:00
2026-10-08 21:29:48 +02:00
2026-10-09 17:34:38 +02:00
2026-10-08 21:29:48 +02:00
2026-10-08 19:54:07 +02:00
2026-10-09 17:34:38 +02:00
2026-10-09 17:34:36 +02:00
2026-10-08 21:29:48 +02:00