Skip to content

feat: implement prefetching for AI settings search #251840

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

Merged
merged 6 commits into from
Jun 18, 2025

Conversation

rzhao271
Copy link
Contributor

This PR changes the behaviour of AI settings search in the Settings editor in the following ways

  • The Settings editor will only search and show results from the more performant algorithms, i.e. string-matching and TF-IDF. Previously, it was fetching embeddings results as well for users with Copilot enabled.
  • The Settings editor will start an AI search in the background after those searches are complete. The search uses free models and will only apply to users with Copilot enabled.
  • The sparkle is now hidden until there are AI search results available. Clicking on the toggle now immediately flips the Settings editor search results between the non-AI ones and the AI ones.

@rzhao271 rzhao271 self-assigned this Jun 18, 2025
@rzhao271 rzhao271 changed the title feat: implement pre-fetching for AI settings search feat: implement prefetching for AI settings search Jun 18, 2025
@rzhao271 rzhao271 added this to the June 2025 milestone Jun 18, 2025
@rzhao271 rzhao271 marked this pull request as ready for review June 18, 2025 21:42
@rzhao271 rzhao271 enabled auto-merge (squash) June 18, 2025 21:43
@rzhao271 rzhao271 merged commit 488cfed into main Jun 18, 2025
8 checks passed
@rzhao271 rzhao271 deleted the rzhao271/beautiful-falcon branch June 18, 2025 21:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants