(
region: impl Into<String>,
access_key_id: impl Into<String>,
secret_access_key: impl Into<String>,
)
| 28 | |
| 29 | impl BedrockProvider { |
| 30 | pub fn new( |
| 31 | region: impl Into<String>, |
| 32 | access_key_id: impl Into<String>, |
| 33 | secret_access_key: impl Into<String>, |
| 34 | ) -> Self { |
| 35 | Self::with_config(BedrockConfig { |
| 36 | region: region.into(), |
| 37 | access_key_id: access_key_id.into(), |
| 38 | secret_access_key: secret_access_key.into(), |
| 39 | session_token: None, |
| 40 | endpoint_url: None, |
| 41 | }) |
| 42 | } |
| 43 | |
| 44 | pub fn with_config(config: BedrockConfig) -> Self { |
| 45 | let models = vec![ |
nothing calls this directly
no outgoing calls
no test coverage detected