Skip to content

Error Handling for when the OpenAI Api fails? #2

@rajatkulkarni95

Description

@rajatkulkarni95

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?

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions