Files
open-multi-agent/docs
nuthalapativarunandJack Chen 3cde8f900d feat(bedrock): implement native reasoning round-trip via signature (#223) (#302)
* chore: resolve .gitignore merge conflict

* feat(bedrock): implement native reasoning round-trip via signature (#223)

Inbound chat(): extract signature from reasoningText.signature and
redactedContent bytes into ReasoningBlock IR fields.
Inbound stream(): accumulate reasoningContent.signature delta into the
reasoning buffer; stamp onto the block at contentBlockStop.
Outbound: bedrock-provenance blocks with signature echo natively via
reasoningContent.reasoningText.{text,signature}; blocks with redactedData
echo via reasoningContent.redactedContent; unsigned foreign-provenance
blocks fall back to the existing thinking text path.
Upgrade capabilities.echoesReasoning from never to own-issued.
Add 9 new tests covering inbound/outbound round-trip for chat() and stream().
Update llm-adapter-capabilities test to reflect the new capability value.

Closes #223

* fix(bedrock): handle redactedContent delta in stream(), update docs

stream() handled the signature delta on ReasoningContentBlockDelta but
not redactedContent (the delta is a union of text/signature/redactedContent),
so a redacted thinking block over streaming was silently dropped even
though chat() already round-trips it. Buffer redactedContent per content
block index alongside text/signature and flush it into
ReasoningBlock.redactedData (base64), mirroring chat()'s handling, on both
the normal contentBlockStop path and the end-of-stream safety net.

Also updates docs/context-management.md, which still listed Bedrock under
capabilities.echoesReasoning === 'never' pending this exact follow-up; the
table and notes now reflect 'own-issued' with native round-trip on both
chat() and stream() (closes #223).

* Update .gitignore to remove markdown files

Remove specific markdown files from .gitignore

---------

Co-authored-by: Jack Chen <chenkaijie01@gmail.com>
2026-06-17 15:17:55 +08:00
..
2026-06-07 01:20:40 +08:00