{"record":{"id":"09877e1498710202","repo":"zed-industries/zed","slug":"display-name-is-not-available-in-region-becaus","errorCode":null,"errorMessage":"{display_name} is not available in {region} because Bedrock Mantle isn't offered there. Try switching to one of the following regions: {supported}.","messagePattern":"(.+?) is not available in (.+?) because Bedrock Mantle isn't offered there\\. Try switching to one of the following regions: (.+?)\\.","errorType":"exception","errorClass":"LanguageModelCompletionError","httpStatus":null,"severity":"error","filePath":"crates/language_models/src/provider/bedrock.rs","lineNumber":1880,"sourceCode":"            LanguageModelToolChoice::Auto | LanguageModelToolChoice::Any => {\n                self.model.supports_tools()\n            }\n            LanguageModelToolChoice::None => true,\n        }\n    }\n\n    fn supports_streaming_tools(&self) -> bool {\n        true\n    }\n\n    fn supports_thinking(&self) -> bool {\n        self.model.supports_thinking()\n    }\n\n    fn supported_effort_levels(&self) -> Vec<LanguageModelEffortLevel> {\n        mantle_supported_effort_levels(&self.model)\n    }\n\n    fn supports_split_token_display(&self) -> bool {\n        true\n    }\n\n    fn telemetry_id(&self) -> String {\n        format!(\"bedrock-mantle/{}\", self.model.id())\n    }\n\n    fn max_token_count(&self) -> u64 {\n        self.model.max_token_count()\n    }\n\n    fn max_output_tokens(&self) -> Option<u64> {\n        Some(self.model.max_output_tokens())\n    }\n\n    fn stream_completion(\n        &self,","sourceCodeStart":1862,"sourceCodeEnd":1898,"githubUrl":"https://github.com/zed-industries/zed/blob/5a9b9558db01a6b906cec2fb70a797affdc58cdd/crates/language_models/src/provider/bedrock.rs#L1862-L1898","documentation":"Refusal at stream_completion: the configured AWS region is not in MANTLE_SUPPORTED_REGIONS, so the Bedrock Mantle model cannot be invoked there. Fires before any network call, as a regional-availability guard for models whose endpoint only exists in specific AWS regions.","triggerScenarios":"Thrown at crates/language_models/src/provider/bedrock.rs:1889 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Switch the AWS region in settings to one listed in the error's supported regions","Choose a non-Mantle Bedrock model that is offered in the current region"],"exampleFix":null,"handlingStrategy":"validation","validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"5a9b9558db01a6b906cec2fb70a797affdc58cdd","analyzedAt":"2026-08-20T19:29:52.058Z","contentChangedAt":"2026-08-20T19:29:52.058Z","schemaVersion":2},"datasetVersion":"2026-09-14T05:17:10.506Z"}