Rebasing, going about this another way

This commit is contained in:
Ryan Ward
2026-05-06 07:02:12 -05:00
parent d8d4ac9e5d
commit f4e2475c60
36 changed files with 3040 additions and 466 deletions
+2 -2
View File
@@ -511,7 +511,7 @@ impl UserWorkspaces {
)
}
pub fn is_aws_bedrock_credentials_enabled(&self, app: &AppContext) -> bool {
pub fn is_bedrock_enabled(&self, app: &AppContext) -> bool {
// i.e. did the admin go and toggle on aws bedrock in the admin panel?
if !self.is_aws_bedrock_available_from_workspace() {
return false;
@@ -520,7 +520,7 @@ impl UserWorkspaces {
match self.aws_bedrock_host_enablement_setting() {
HostEnablementSetting::Enforce => true,
HostEnablementSetting::RespectUserSetting => *AISettings::as_ref(app)
.aws_bedrock_credentials_enabled
.bedrock_enabled
.value(),
}
}