Update integration tests to use the latest Amazon Nova 2 models#39
Merged
jonathan343 merged 1 commit intodevelopfrom Dec 23, 2025
Merged
Update integration tests to use the latest Amazon Nova 2 models#39jonathan343 merged 1 commit intodevelopfrom
jonathan343 merged 1 commit intodevelopfrom
Conversation
nateprewitt
approved these changes
Dec 23, 2025
Contributor
nateprewitt
left a comment
There was a problem hiding this comment.
We should think about this a bit more and see if we can get this information without hardcoding the model.
Contributor
Author
|
@nateprewitt Are you talking about selecting the model dynamically? Or something else? If the former, there is a ListFoundationModels API we could potentially use. We can filter results by provider and modality if we want. The responses also contain if the model is active or not. Here is an example: |
Contributor
|
@jonathan343 yeah if we can filter that byOutputModality to only get Text models, that seems tractable. We may want to do some form of sorting or filtering to ensure somewhat deterministic model choice. |
nateprewitt
added a commit
that referenced
this pull request
Jan 2, 2026
* Add integration tests for Bedrock Runtime (#37) * Add integration tests for Transcribe Streaming (#38) * Update integration tests to use the latest Amazon Nova 2 models (#39) * Update to latest bedrock-runtime model * Release: aws-sdk-bedrock-runtime-0.3.0 * Release: AWS SDK Transcribe Streaming 0.3.0 * Release: AWS SDK Sagemaker Runtime HTTP2 0.3.0 * Release: aws-sdk-python 0.3.0 --------- Co-authored-by: Alessandra Romero <24320222+alexgromero@users.noreply.github.com> Co-authored-by: jonathan343 <43360731+jonathan343@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
The existing integration tests for
aws-sdk-bedrock-runtimeuse theamazon.titan-text-express-v1foundational model for non-bidirectional-streaming tests. This has recently started throwing the following errors:This PR makes the following updates:
amazon.titan-text-express-v1-->global.amazon.nova-2-lite-v1:0amazon.nova-sonic-v1:0-->amazon.nova-2-sonic-v1:0Testing
cd clients/aws-sdk-bedrock-runtimeuv venv -p 3.12 && . .venv/bin/activateaws-sdk-bedrock-runtimeand test dependenciesuv pip install . --group testpytest tests/integrationOutput:
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.