Fix Ai::Catalog.available? GA check for self-managed instances

What does this MR do and why?

This MR fixes the fallback logic in Ai::Catalog.available? for Self-Managed/Dedicated instances to fallback to ::Gitlab::CurrentSettings.instance_level_ai_beta_features_enabled? rather than a hard-coded value. This tweak helps ensure AI Catalog doesn't ship as GA in 18.7.

References

Screenshots or screen recordings

Before After

How to set up and validate locally

MR acceptance checklist

Evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Related to #570161

Edited by Luke Duncalfe

Merge request reports

Loading