rig-bedrock 0.46.0

AWS Bedrock model provider for Rig integration.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
use super::*;

#[tokio::test]
async fn explicit_region_applies_alongside_a_profile() {
    let runtime = BedrockRuntime::builder()
        .profile_name("rig-bedrock-test-absent-profile")
        .region("eu-west-1")
        .build();

    let region = runtime.inner().await.config().region().map(Region::as_ref);

    assert_eq!(region, Some("eu-west-1"));
}