Skip to content

Conversation

@aymeric-giraudet
Copy link
Member

@aymeric-giraudet aymeric-giraudet commented Dec 8, 2025

Summary

FX-3596

Result

Screen.Recording.2025-12-17.at.11.01.21.mov

@codesandbox-ci
Copy link

codesandbox-ci bot commented Dec 8, 2025

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Latest deployment of this branch, based on commit 7f789be:

Sandbox Source
example-instantsearch-getting-started Configuration
example-react-instantsearch-getting-started Configuration
example-react-instantsearch-next-app-dir-example Configuration
example-react-instantsearch-next-routing-example Configuration
example-vue-instantsearch-getting-started Configuration

@aymeric-giraudet aymeric-giraudet changed the base branch from feat/chat-prompt-suggestions-widget to master December 17, 2025 10:18
@aymeric-giraudet aymeric-giraudet marked this pull request as ready for review December 17, 2025 16:52
@aymeric-giraudet aymeric-giraudet requested review from a team, FabienMotte and Haroenv and removed request for a team December 17, 2025 16:52
{message.parts.map(renderMessagePart)}
</div>

{suggestionsElement}
Copy link
Contributor

Choose a reason for hiding this comment

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

in the future, it may be interesting to add the suggestion to the message.parts directly and style it as a built-in tool, but this is the way to go for now

Comment on lines +372 to +376
status === 'ready' &&
message.role === 'assistant' &&
index === messages.length - 1
? suggestionsElement
: undefined
Copy link
Contributor

Choose a reason for hiding this comment

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

I first thought that it may make sense to remove it in the connector if it's not last, but there are probably some UIs where you keep displaying all suggestions.

@Haroenv Haroenv force-pushed the master branch 3 times, most recently from c1fa2e8 to 9af869e Compare December 31, 2025 14:19
@aymeric-giraudet aymeric-giraudet merged commit aca8934 into master Jan 6, 2026
14 checks passed
@aymeric-giraudet aymeric-giraudet deleted the feat/chat-suggestions branch January 6, 2026 12:03
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.

5 participants