Files
kilocode/.changeset/fix-bedrock-empty-output.md
T
Christiaan Arnoldus 75715088b1 fix(cli): restore Amazon Bedrock output by pinning @smithy/util-buffer-from
@smithy/util-buffer-from >=4.3.0 became a re-export shim of @smithy/core/serde.
Under the browser build condition, @smithy/core's serde exposes fromArrayBuffer
as Symbol.for("node-only"), so @smithy/util-utf8's toUtf8 throws inside the
Bedrock event-stream decoder, whose catch { break } silently ends the stream.
Every Bedrock request completed with empty output on HTTP 200.

Pin to 4.2.2 (last self-contained 4.x) so fromArrayBuffer stays a real function.
2026-07-06 14:02:57 +02:00

258 B

@kilocode/cli
@kilocode/cli
patch

Fix Amazon Bedrock models returning no output. A smithy dependency version-skew made the Bedrock event-stream decoder silently fail under the browser build condition, so every Bedrock request completed with an empty response.