Skip to content

Conversation

Haroenv
Copy link
Contributor

@Haroenv Haroenv commented Oct 7, 2025

Summary

This ensures the same chat is restarted, only if the configuration matched.

I think there may also be something possible with chat.id that gets generated after creation of the chat, but i don't think we can reason anything about its identity.

Result

if you change the agentId, the chat is restarted.

@Haroenv Haroenv requested review from a team, aymeric-giraudet and shaejaz and removed request for a team October 7, 2025 14:55
Copy link

codesandbox-ci bot commented Oct 7, 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 cf770e4:

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

This ensures the same chat is restarted, only if the configuration matched.

I think there may also be something possible with chat.id that gets generated after creation of the chat, but i don't think we can reason anything about its identity.
@Haroenv Haroenv force-pushed the fix/no-restart-different-chat branch from 821a956 to cf770e4 Compare October 15, 2025 07:41
@Haroenv Haroenv merged commit 58f86b6 into master Oct 15, 2025
14 checks passed
@Haroenv Haroenv deleted the fix/no-restart-different-chat branch October 15, 2025 08:34
FabienMotte added a commit that referenced this pull request Oct 16, 2025
FabienMotte added a commit that referenced this pull request Oct 16, 2025
Revert "fix(memory): cache key includes agent id (#6737)"

This reverts commit 58f86b6.
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