jonrhall / jonrhall/openai-streaming-hooks
Error Handling for when the OpenAI Api fails?
Open
enhancement
good first issue
- Dominant language
- TypeScript
- Stars
- 92
- Forks
- 19
- PR merge metrics
- No merged PRs in 30d
Description
Sometimes when the API fails the response back is something like
`{content: '', role: ''}`
Try catching `submitQuery` doesn't yield any results. Is there a way to catch errors and showcase to the end user?
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.