Skip to content

feat(quantic): add search queries to agent stream of thoughts component#7898

Merged
mikegron merged 3 commits into
mainfrom
feat/SFINT-6812
Jul 6, 2026
Merged

feat(quantic): add search queries to agent stream of thoughts component#7898
mikegron merged 3 commits into
mainfrom
feat/SFINT-6812

Conversation

@mikegron

Copy link
Copy Markdown
Contributor

SFINT-6812

This pull request enhances the Quantic agent stream of thought component by displaying the generated search queries used by the agent, providing more transparency into the agent's reasoning process. It introduces new step types for searching with a specific query, updates the UI and translations, and adds comprehensive tests for these scenarios.

Also added agent-id in the test page for the component.


In action

quanticsot.mp4

@changeset-bot

changeset-bot Bot commented Jun 29, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 47ab30a

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@coveo/quantic Minor

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@svcsnykcoveo

svcsnykcoveo commented Jun 29, 2026

Copy link
Copy Markdown

Snyk checks have passed. No issues have been found so far.

Status Scan Engine Critical High Medium Low Total (0)
Open Source Security 0 0 0 0 0 issues
Licenses 0 0 0 0 0 issues
Code Security 0 0 0 0 0 issues

💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse.

@pkg-pr-new

pkg-pr-new Bot commented Jun 29, 2026

Copy link
Copy Markdown
@coveo/atomic

npm i https://pkg.pr.new/@coveo/atomic@7898

@coveo/atomic-hosted-page

npm i https://pkg.pr.new/@coveo/atomic-hosted-page@7898

@coveo/atomic-legacy

npm i https://pkg.pr.new/@coveo/atomic-legacy@7898

@coveo/atomic-react

npm i https://pkg.pr.new/@coveo/atomic-react@7898

@coveo/auth

npm i https://pkg.pr.new/@coveo/auth@7898

@coveo/bueno

npm i https://pkg.pr.new/@coveo/bueno@7898

@coveo/create-atomic

npm i https://pkg.pr.new/@coveo/create-atomic@7898

@coveo/create-atomic-component

npm i https://pkg.pr.new/@coveo/create-atomic-component@7898

@coveo/create-atomic-component-project

npm i https://pkg.pr.new/@coveo/create-atomic-component-project@7898

@coveo/create-atomic-result-component

npm i https://pkg.pr.new/@coveo/create-atomic-result-component@7898

@coveo/create-atomic-rollup-plugin

npm i https://pkg.pr.new/@coveo/create-atomic-rollup-plugin@7898

@coveo/headless

npm i https://pkg.pr.new/@coveo/headless@7898

@coveo/headless-react

npm i https://pkg.pr.new/@coveo/headless-react@7898

@coveo/shopify

npm i https://pkg.pr.new/@coveo/shopify@7898

commit: 47ab30a

@github-actions

github-actions Bot commented Jun 29, 2026

Copy link
Copy Markdown
Contributor

🔗 Scratch Orgs ready to test this PR:

@mikegron mikegron marked this pull request as ready for review June 29, 2026 19:51

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR enhances the Quantic generated-answer “agent stream of thought” UI by expanding searching generation steps into per-tool-call steps and displaying the actual search query used, improving transparency for end users. It also wires agent-id through the Quantic Generated Answer example page and introduces new localized labels for the new step variants.

Changes:

  • Expand searching steps into one or more searching-with-query steps based on toolCalls and format labels with the query via I18nUtils.format.
  • Add new Custom Labels + FR/ES translations for the query-based searching step (active + completed).
  • Update Quantic Generated Answer example templates/config to support agent-id, and add unit tests for the new step resolution/rendering behavior.

Reviewed changes

Copilot reviewed 9 out of 9 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
packages/quantic/force-app/main/translations/fr.translation-meta.xml Adds FR translations for query-based searching step labels.
packages/quantic/force-app/main/translations/es.translation-meta.xml Adds ES translations for query-based searching step labels.
packages/quantic/force-app/main/default/lwc/quanticGeneratedAnswerStreamOfThought/quanticGeneratedAnswerStreamOfThought.js Expands searching steps into per-search tool call steps and formats labels with the query.
packages/quantic/force-app/main/default/lwc/quanticGeneratedAnswerStreamOfThought/tests/quanticGeneratedAnswerStreamOfThought.test.js Adds tests for resolving and rendering searching-with-query steps.
packages/quantic/force-app/main/default/labels/CustomLabels.labels-meta.xml Introduces new EN custom labels for query-based searching steps.
packages/quantic/force-app/examples/main/lwc/exampleQuanticGeneratedAnswer/templates/templateGeneratedAnswerWithoutFacets.html Passes agent-id through to the generated answer component in the example page.
packages/quantic/force-app/examples/main/lwc/exampleQuanticGeneratedAnswer/templates/templateGeneratedAnswerWithFacets.html Passes agent-id through to the generated answer component in the example page (facets variant).
packages/quantic/force-app/examples/main/lwc/exampleQuanticGeneratedAnswer/exampleQuanticGeneratedAnswer.js Adds agentId to example configuration options.
.changeset/quantic-display-search-query-stream-of-thought.md Adds a minor changeset for @coveo/quantic.

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

@mmitiche mmitiche left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Perfect PR, GG 🎩

@SimonMilord SimonMilord left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

GG 🎉

@erocheleau erocheleau left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Very quick comment, but you can still consider it approved. :)

@erocheleau erocheleau left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1

@mikegron mikegron added this pull request to the merge queue Jul 6, 2026
Merged via the queue into main with commit 61487c9 Jul 6, 2026
54 checks passed
@mikegron mikegron deleted the feat/SFINT-6812 branch July 6, 2026 21:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants