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

Use correct keys for output parsing except block #73

Open
wants to merge 1 commit into
base: main_july_updates
Choose a base branch
from

Conversation

escesare
Copy link
Contributor

No description provided.

}
except Exception as e:
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.

None yet

1 participant