Skip to content

Conversation

escesare
Copy link
Contributor

No description provided.

return {
"status": "failed",
"object_type": None,
"data": {"error_message": str(e)},
Copy link
Contributor Author

@escesare escesare Apr 28, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Using 'error_message' without 'completion' causes an unhandled error on this later line.
I just changed it to 'completion', since we already have 'status' to indicate error. Alternatively, we can leave it as 'error_message' but have to change the aforementioned line of code.

@monk1337 monk1337 self-requested a review April 29, 2023 06:48
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.

1 participant