Disable features until valid AI credentials are entered (leaving non-Connector powered features alone like Abilities Explorer)
#197 opened on Jan 22, 2026
Repository metrics
- Stars
- (246 stars)
- PR merge metrics
- (Avg merge 5d 4h) (72 merged PRs in 30d)
Description
What problem does this address?
Currently, when a user does not provide valid API credentials, they are still able to enable Experiments and view Available Experiments. As a result, when navigating to pages, the title generation button appears in the editor. However, clicking the Regenerate button triggers an error because the required AI credentials are missing or invalid.
This creates a confusing user experience and allows users to proceed through workflows that cannot function correctly without mandatory configuration.
https://github.com/user-attachments/assets/8170850b-b333-4772-8af7-fd17ccb60ac4
What is your proposed solution?
Since AI credentials are mandatory for experiment-related functionality, the system should enforce credential validation as a prerequisite before enabling any dependent features.
The proposed behavior is as follows:
- The system must first verify that API credentials are provided and valid.
- Only after successful validation:
- The Enable Experiments checkbox should be activated.
- The Available Experiments options should become selectable.
- The Save Changes action should be enabled.
- If credentials are missing or invalid:
- All experiment-related options must remain disabled.
- Users should be prevented from proceeding to subsequent steps.
- Clear guidance should be provided to complete the mandatory credential setup.
This ensures a proper step-by-step flow, prevents invalid configurations, and avoids runtime errors by enforcing required prerequisites before allowing access to dependent features.