feat(agentStudio): surface service errors deep thread#6983
Draft
pipeline1987 wants to merge 1 commit into
Draft
Conversation
Up to standards ✅🟢 Issues
|
| Metric | Results |
|---|---|
| Complexity | 107 |
| Duplication | 52 |
TIP This summary will be updated as you push new changes. Give us feedback
0e6aedb to
307b374
Compare
More templates
algoliasearch-helper
instantsearch-ui-components
instantsearch.css
instantsearch.js
react-instantsearch
react-instantsearch-core
react-instantsearch-nextjs
react-instantsearch-router-nextjs
vue-instantsearch
commit: |
307b374 to
322a039
Compare
feat(agentStudio): surface conversation errors feat(agentStudio): cost controls error handler
322a039 to
59f37b8
Compare
Haroenv
reviewed
Apr 24, 2026
Contributor
Haroenv
left a comment
There was a problem hiding this comment.
could you split this up please?
| 'id' in renderState | ||
| ? (renderState as { id?: unknown }).id | ||
| : undefined; | ||
| // Chat (and similar) expose `id`; when it changes (e.g. new conversation), |
Contributor
There was a problem hiding this comment.
is there some way to implement this without the deep changes in useConnector? as I believe there's no other widgets with id, normally if widgets change attributes (similar to id?) they just get deleted and re-added
Author
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Surfaces conversation and transport errors end-to-end in the InstantSearch chat stack (ai-lite → connector → widgets → UI), so failures from the assistant thread are visible in the chat UI instead of failing silently or only in logs.
How
ai-lite (abstract-chat, transport, stream parser, utils)
connectChat + chat widget
UI (instantsearch-ui-components)
Styling (instantsearch.css)
React (react-instantsearch)
Tests
Example
Result