diff --git a/src/app.rs b/src/app.rs index f9e43458..729d2269 100644 --- a/src/app.rs +++ b/src/app.rs @@ -694,7 +694,10 @@ impl AppBuilder { // Post-init validation: if a non-nearai backend was selected but // credentials were never resolved (deferred resolution found no keys), // fail early with a clear error instead of a confusing runtime failure. - if self.config.llm.backend != "nearai" && self.config.llm.provider.is_none() { + if self.config.llm.backend != "nearai" + && self.config.llm.backend != "bedrock" + && self.config.llm.provider.is_none() + { let backend = &self.config.llm.backend; anyhow::bail!( "LLM_BACKEND={backend} is configured but no credentials were found. \