[ ] Create an issue and link to the pull request to get dedicated review from promptflow team. Learn more: suggested workflow.
General Guidelines and Best Practices
[x] Title of the pull request is clear and informative.
[x] There are a small number of commits, each of which have an informative message. This means that previously merged commits do not appear in the history of the PR. For more information on cleaning up the commits in your PR, see this page.
Testing Guidelines
[x] Pull request includes test coverage for the included changes.
Description
Issue: OpenAI suggest retry on UnprocessableEntityError(422) https://platform.openai.com/docs/guides/error-codes/python-library-error-types while MaaS returns 422 with non-retriable error.
Solution: Smaller retry count for 422.
All Promptflow Contribution checklist:
General Guidelines and Best Practices
Testing Guidelines