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
Commit 1197d69
Browse filesBrowse the repository at this point in the historyBrowse files
feat(boto3): Truncate Bedrock input messages like the other gen_ai integrations
When gen_ai spans are sent in transactions (`should_truncate_gen_ai_input()`),
keep only the last input message with `truncate_and_annotate_messages()`, like
the Anthropic and OpenAI integrations, so long histories don't exceed the
transaction size limit.
The helper needs the started span, so request data is now added through a
new `_ServiceExtension.get_span_start_attributes()` hook.
Refs #5470
Co-Authored-By: Sergiy Dybskiy <3760543+sergical@users.noreply.github.com>
0 commit comments