Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix frontend miscounting AI requests when using Chrome AI #41899

Closed
mwatson opened this issue Feb 14, 2025 · 1 comment
Closed

Fix frontend miscounting AI requests when using Chrome AI #41899

mwatson opened this issue Feb 14, 2025 · 1 comment
Assignees
Labels
[Experiment] AI labels added [Feature] AI AI tools in the post and site editor (AI Assistant,Write Brief) [Feature Group] Other Infrastructure Miscellaneous infrastructure features and improvements on WordPress.com. [Feature] Performance History [Pri] Normal [Type] Task

Comments

@mwatson
Copy link
Contributor

mwatson commented Feb 14, 2025

Currently the front-end counts requests to Chrome AI against a user's total AI requests. The counts are not reflected on the backend, so this is just an issue with the frontend. There's likely an event that triggers the counter (probably the done event) and we just need to not increment the counter when it's sent by the Chrome AI code.

@mwatson mwatson self-assigned this Feb 14, 2025
@mwatson mwatson transferred this issue from Automattic/jetpack-local-ai Feb 19, 2025
@github-actions github-actions bot added [Feature Group] Other Infrastructure Miscellaneous infrastructure features and improvements on WordPress.com. [Feature] AI AI tools in the post and site editor (AI Assistant,Write Brief) [Feature] Performance History labels Feb 19, 2025
Copy link
Contributor

OpenAI suggested the following labels for this issue:

  • [Feature Group] Other Infrastructure: The issue relates to frontend functionality and how it connects with backend processes, which falls under infrastructure improvements.
  • [Feature] AI: The issue directly pertains to requests related to the Chrome AI integration, which falls under AI tools.
  • [Feature] Performance History: The counting misrepresentation could impact performance metrics tracked by the frontend related to AI requests.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Experiment] AI labels added [Feature] AI AI tools in the post and site editor (AI Assistant,Write Brief) [Feature Group] Other Infrastructure Miscellaneous infrastructure features and improvements on WordPress.com. [Feature] Performance History [Pri] Normal [Type] Task
Projects
None yet
Development

No branches or pull requests

2 participants