remove old okta login authentication refresh
This commit is contained in:
@@ -188,7 +188,9 @@ impl ResponseStream {
|
||||
// Fall back to Bedrock
|
||||
if *settings.bedrock_enabled.value() {
|
||||
let api_key_manager = ::ai::api_keys::ApiKeyManager::as_ref(ctx);
|
||||
let config = BedrockClientConfig::from_settings(settings).with_managed_credentials(
|
||||
let config = BedrockClientConfig::from_settings(settings)
|
||||
.with_model_route(model_id, settings.bedrock_models.value())
|
||||
.with_managed_credentials(
|
||||
&api_key_manager.aws_credentials_refresh_strategy(),
|
||||
api_key_manager.aws_credentials_state(),
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user