@effect/ai-amazon-bedrock@0.16.1
·
1 commit
to main
since this release
Patch Changes
-
#6272
1876254Thanks @tsushanth! - Fix@effect/ai-amazon-bedrockstreaming so the terminal"finish"part carries real token counts. The Bedrock Converse stream sendsmetadata(with the populatedusageblock) aftermessageStop, but the SDK was emitting"finish"synchronously onmessageStop, capturing the still-emptyusagedefaults. Buffer the finish reason onmessageStopand emit"finish"from themetadatacase onceinputTokens/outputTokens/totalTokensare filled in. -
Updated dependencies [
8222963,7e00169]:- effect@3.21.4
- @effect/platform@0.96.2