This commit is contained in:
celia-oai
2026-04-30 20:25:16 -07:00
parent 79908b64a1
commit 09637409b0
2 changed files with 2 additions and 3 deletions
@@ -1,6 +1,6 @@
use std::sync::Arc;
use tracing::warn;
use tracing::debug;
use crate::session::session::Session;
@@ -9,7 +9,7 @@ impl Session {
let model_client = self.services.model_client.clone();
tokio::spawn(async move {
if let Err(err) = model_client.prewarm_provider_auth().await {
warn!("startup provider auth prewarm failed: {err:#}");
debug!("startup provider auth prewarm failed: {err:#}");
}
});
}
@@ -123,7 +123,6 @@ impl ModelProvider for AmazonBedrockModelProvider {
}
async fn api_auth(&self) -> Result<SharedAuthProvider> {
self.prewarm_bedrock_credentials().await?;
Ok(provider_auth_from_method(self.auth_method().await?))
}