Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add original error info when throwing generation errors #15

Merged
merged 2 commits into from
Mar 19, 2024

Conversation

rangelfinal
Copy link
Contributor

@rangelfinal rangelfinal commented Mar 19, 2024

When rethrowing a new error, add the original error as the cause property so the information is not lost.
Also "Try again" is not applicable to all errors that may happen here - EG: Failing because the gpt-4 model is unavailable for the current tier of the openapi account

Copy link

vercel bot commented Mar 19, 2024

@rangelfinal is attempting to deploy a commit to the Vinta Software Team on Vercel.

A member of the Team first needs to authorize it.

@fjsj fjsj merged commit ba6b16d into vintasoftware:main Mar 19, 2024
1 of 2 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.

None yet

2 participants