Skip to content

Commit

Permalink
release breve for 50% of sites
Browse files Browse the repository at this point in the history
  • Loading branch information
dhasilva committed Jul 29, 2024
1 parent c39fc16 commit ca8acd5
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ import { getFeatureAvailability } from '../../../../../blocks/ai-assistant/lib/u

const blogId = parseInt( window?.Jetpack_Editor_Initial_State?.wpcomBlogId );

// Enable backend prompts for beta sites + 20% of production sites.
// Enable backend prompts for beta sites + 50% of production sites.
const isBreveAvailable =
getFeatureAvailability( 'ai-proofread-breve' ) || [ 0, 6 ].includes( blogId % 10 );
getFeatureAvailability( 'ai-proofread-breve' ) || [ 0, 2, 6, 7, 9 ].includes( blogId % 10 );

export default isBreveAvailable;

0 comments on commit ca8acd5

Please sign in to comment.