mirror of
https://github.com/openai/codex.git
synced 2026-10-27 18:48:37 +00:00
changes
This commit is contained in:
@@ -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?))
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user