Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[JS] fix: assistants planner error details and message order (#899)
## Linked issues closes: #806 #892 ## Details Fix issues in `AssistantsPlanner` #### Change details - Throw error with detailed code and message when run failed, from OpenAI Run's `last_error` field. - Reverse the messages returned from OpenAI's listMessages API, to ensure responses in asc order. ## Attestation Checklist - [X] My code follows the style guidelines of this project - I have checked for/fixed spelling, linting, and other errors - I have commented my code for clarity - I have made corresponding changes to the documentation (we use [TypeDoc](https://typedoc.org/) to document our code) - My changes generate no new warnings - I have added tests that validates my changes, and provides sufficient test coverage. I have tested with: - Local testing - E2E testing in Teams - New and existing unit tests pass locally with my changes ### Additional information > Feel free to add other relevant information below
- Loading branch information