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

fix: datasets: handle error responses #96

Closed
wants to merge 1 commit into from

Conversation

g-linville
Copy link
Member

When we were getting errors back from the SDKServer, we were still trying to parse them as JSON. This fixes that.

@thedadams
Copy link
Contributor

I made a change in gptscript that should mean that this is not needed. In other words, if the run fails, an error should be thrown there.

Can you test without this change and latest gptscript?

@thedadams
Copy link
Contributor

I just realized that the change I referenced above hasn't merged yet.

@thedadams
Copy link
Contributor

@g-linville The change has been merged to gptscript. You should get proper errors now without having to check for ERROR:

@g-linville g-linville closed this Oct 16, 2024
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