-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Description:
When the app requests markdown from the OpenAI API and the API fails or returns an unexpected response (such as error or invalid format), the app does not handle these errors gracefully. This can result in broken rendering, blank content, or raw error messages being shown to the user.
Steps to Reproduce:
- Disconnect internet or simulate OpenAI API downtime.
- Request position paper in the app.
- Observe that the rendered position paper may be empty or display unexpected error content.
Expected Behavior:
Errors from the API should be caught and a user-friendly error message should be displayed. The app should not render blank or raw error output.
Suggested Solution:
- Add error handling for failed or malformed API responses in the markdown rendering pipeline.
- Display a friendly error message and offer retry options.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working