From 5b177683bc4e31a997033846ca14579a692206d4 Mon Sep 17 00:00:00 2001 From: sbaluja Date: Wed, 4 Mar 2026 13:52:52 -0500 Subject: [PATCH 1/2] Update Bedrock InvokeModel test to use non-legacy model haiku instead of sonnet --- .../IntegrationTests.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/aws-cpp-sdk-bedrock-runtime-integration-tests/IntegrationTests.cpp b/tests/aws-cpp-sdk-bedrock-runtime-integration-tests/IntegrationTests.cpp index 3f7d7267baa..2385dddf57d 100644 --- a/tests/aws-cpp-sdk-bedrock-runtime-integration-tests/IntegrationTests.cpp +++ b/tests/aws-cpp-sdk-bedrock-runtime-integration-tests/IntegrationTests.cpp @@ -80,7 +80,7 @@ TEST_F(BedrockRuntimeTests, TestStreaming) TEST_F(BedrockRuntimeTests, TestInvokeModel) { - auto bedrockRequest = Aws::BedrockRuntime::Model::InvokeModelRequest{}.WithModelId("us.anthropic.claude-3-5-sonnet-20241022-v2:0").WithAccept("application/json") ; + auto bedrockRequest = Aws::BedrockRuntime::Model::InvokeModelRequest{}.WithModelId("us.anthropic.claude-3-5-haiku-20241022-v1:0").WithAccept("application/json") ; bedrockRequest.SetBody(Aws::MakeShared( "BedrockRuntimeTests::TestInvokeModel", From 1c8c807e0256fc6ca1d90a863367b8c6e2220f1d Mon Sep 17 00:00:00 2001 From: sbaluja Date: Wed, 4 Mar 2026 13:58:02 -0500 Subject: [PATCH 2/2] Haiku 3.5 -> haiku 4.5 for better LTS --- .../IntegrationTests.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/aws-cpp-sdk-bedrock-runtime-integration-tests/IntegrationTests.cpp b/tests/aws-cpp-sdk-bedrock-runtime-integration-tests/IntegrationTests.cpp index 2385dddf57d..b7635a26aac 100644 --- a/tests/aws-cpp-sdk-bedrock-runtime-integration-tests/IntegrationTests.cpp +++ b/tests/aws-cpp-sdk-bedrock-runtime-integration-tests/IntegrationTests.cpp @@ -80,7 +80,7 @@ TEST_F(BedrockRuntimeTests, TestStreaming) TEST_F(BedrockRuntimeTests, TestInvokeModel) { - auto bedrockRequest = Aws::BedrockRuntime::Model::InvokeModelRequest{}.WithModelId("us.anthropic.claude-3-5-haiku-20241022-v1:0").WithAccept("application/json") ; + auto bedrockRequest = Aws::BedrockRuntime::Model::InvokeModelRequest{}.WithModelId("us.anthropic.claude-haiku-4-5-20251001-v1:0").WithAccept("application/json") ; bedrockRequest.SetBody(Aws::MakeShared( "BedrockRuntimeTests::TestInvokeModel",