feat(chat): add error matching and API-facing display rules#6991
Closed
pipeline1987 wants to merge 1 commit into
Closed
feat(chat): add error matching and API-facing display rules#6991pipeline1987 wants to merge 1 commit into
pipeline1987 wants to merge 1 commit into
Conversation
Up to standards ✅🟢 Issues
|
| Metric | Results |
|---|---|
| Complexity | 44 |
| Duplication | 2 |
TIP This summary will be updated as you push new changes.
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: |
Centralize chat error classification and user-facing strings in chat utils: thread depth, recursion, max steps, max output, rate limiting, and request origin. Prefer unwrapped API messages over shortened local copy. Support JSON-wrapped service payloads and optional display resolvers for extensions. Made-with: Cursor
158abe9 to
a04a6f9
Compare
Haroenv
reviewed
Apr 27, 2026
Contributor
Haroenv
left a comment
There was a problem hiding this comment.
this is a lot of code to flatten errors. Is it possible we implement this backend to ensure the error and its message get put in a less nested part of the response?
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
Centralize chat error classification and user-facing strings in chat utils: thread depth, recursion, max steps, max output, rate limiting, and request origin.