Skip to content

feat(exception): classify remote AI server errors separately - #588

Merged
haiphucnguyen merged 2 commits into
askimo-ai:mainfrom
frank-1802:feature/add-more-classify-errors
Aug 2, 2026
Merged

feat(exception): classify remote AI server errors separately#588
haiphucnguyen merged 2 commits into
askimo-ai:mainfrom
frank-1802:feature/add-more-classify-errors

Conversation

@frank-1802

Copy link
Copy Markdown
Contributor
  • Introduce RemoteServerException to handle HTTP 5xx/provider-side outages
  • Update ExceptionMapper with heuristics to distinguish remote failures from local crashes
  • Refactor ChatClientExtensions to delegate 5xx classification to the mapper
  • Add multilingual i18n strings for the new remote error message
  • Improve user feedback by clearly attributing provider timeouts to external infrastructure

- Introduce RemoteServerException to handle HTTP 5xx/provider-side outages
- Update ExceptionMapper with heuristics to distinguish remote failures from local crashes
- Refactor ChatClientExtensions to delegate 5xx classification to the mapper
- Add multilingual i18n strings for the new remote error message
- Improve user feedback by clearly attributing provider timeouts to external infrastructure

@haiphucnguyen haiphucnguyen 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.

Thank you @frank-1802 !

@haiphucnguyen
haiphucnguyen merged commit fdc1b15 into askimo-ai:main Aug 2, 2026
9 of 10 checks passed
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