Skip to content

Commit

Permalink
remove isOpenAiGuidedRemediationEnabled
Browse files Browse the repository at this point in the history
  • Loading branch information
avisab-cx committed Sep 15, 2024
1 parent ae0a7d5 commit d43b5b6
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions internal/commands/chat-sast.go
Original file line number Diff line number Diff line change
Expand Up @@ -225,15 +225,6 @@ func isCheckmarxAiGuidedRemediationEnabled(tenantConfigurationResponses *[]*wrap
return isEnabled
}

func isOpenAiGuidedRemediationEnabled(tenantConfigurationResponses *[]*wrappers.TenantConfigurationResponse) bool {
engine, err := GetTenantConfiguration(tenantConfigurationResponses, AiGuidedRemediationEngine)
if err != nil {
return false
}
isEnabled := strings.EqualFold(engine, AiGuidedRemediationOpenAiValue)
return isEnabled
}

func GetAzureAiModel(tenantConfigurationResponses *[]*wrappers.TenantConfigurationResponse) (string, error) {
return GetTenantConfiguration(tenantConfigurationResponses, AzureAiModel)
}
Expand Down

0 comments on commit d43b5b6

Please sign in to comment.