Skip to content

feat(toolbar): discover valid indices and attributes#70

Merged
dhayab merged 3 commits intomainfrom
feat/toolbar-suggest-indices
Mar 9, 2026
Merged

feat(toolbar): discover valid indices and attributes#70
dhayab merged 3 commits intomainfrom
feat/toolbar-suggest-indices

Conversation

@dhayab
Copy link
Member

@dhayab dhayab commented Mar 4, 2026

Summary

  • Refactor get_suggestions AI tool from param-based ({ param }) to kind-based ({ suggestKind }) dispatch, removing the PARAM_SUGGESTIONS indirection layer
  • Add new suggestion sources: indices, indices:replicas, indices:qs, and indexAttributes
  • Emit typed [suggests: <kind>] annotations in widget type descriptions so the AI model knows exactly which suggestion kind to request, including for nested fields
  • Scope useChat session ID per environment to circumvent Agent Studio constraint
Replica indices Template Attributes
screenshot-20260304-153005@2x screenshot-20260304-152443@2x

@dhayab dhayab requested a review from sarahdayan March 4, 2026 14:31
@netlify
Copy link

netlify bot commented Mar 4, 2026

Deploy Preview for algolia-experiences-react ready!

Name Link
🔨 Latest commit ec5debf
🔍 Latest deploy log https://app.netlify.com/projects/algolia-experiences-react/deploys/69aeca84746e8800086e6e3b
😎 Deploy Preview https://deploy-preview-70--algolia-experiences-react.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@netlify
Copy link

netlify bot commented Mar 4, 2026

Deploy Preview for algolia-experiences-js ready!

Name Link
🔨 Latest commit ec5debf
🔍 Latest deploy log https://app.netlify.com/projects/algolia-experiences-js/deploys/69aeca845976db0008266001
😎 Deploy Preview https://deploy-preview-70--algolia-experiences-js.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@dhayab dhayab enabled auto-merge (squash) March 9, 2026 13:26
@dhayab dhayab merged commit c2c13c0 into main Mar 9, 2026
8 checks passed
@dhayab dhayab deleted the feat/toolbar-suggest-indices branch March 9, 2026 13:27
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