Automattic / jetpack

Security, performance, marketing, and design tools — Jetpack is made by WordPress experts to make WP sites safer and faster, and help you grow your traffic.
https://jetpack.com/
Other
1.58k stars 798 forks source link

AI Chat block shows persistent prompt and error after enabling Jetpack Search #33557

Open karenroldan opened 10 months ago

karenroldan commented 10 months ago

Impacted plugin

Jetpack

Quick summary

The prompt to enable Jetpack Search is persistent and there's an error when using the AI chat block on a site even after enabling Jetpack Search.

NOTE: This issue was found during the testing of p8oabR-1n7-p2

gYm9fL.png

Steps to reproduce

  1. Add the AI chat blog to a site where Jetpack Search is not yet enabled.
  2. Observe a prompt suggesting the need to enable Jetpack Search for indexing purposes.
  3. Proceed to enable Jetpack Search.
  4. Visit the page with the AI chat block.

A clear and concise description of what you expected to happen.

After enabling Jetpack Search as prompted, I expected the prompt to disappear and the AI chat block to function without any errors.

What actually happened

Despite enabling Jetpack Search, the prompt remained visible. When attempting to use the AI chat, I get the error `There was an error while generating the answer. Please try again.".

https://github.com/Automattic/jetpack/assets/67279475/62d2f1db-3736-4423-9355-7cc9587ced8e

Impact

Some (< 50%)

Available workarounds?

No but the platform is still usable

Platform (Simple and/or Atomic)

Atomic

Logs or notes

No response

github-actions[bot] commented 4 months ago

This issue has been marked as stale. This happened because:

No further action is needed. But it's worth checking if this ticket has clear reproduction steps and it is still reproducible. Feel free to close this issue if you think it's not valid anymore — if you do, please add a brief explanation.

monsieur-z commented 3 months ago

The issue is still relevant on WordPress.com. It didn't occur with a self-hosted site.