Modifying exception classes that descend from BadRequestError …
Attempting fix for #6869 .
Modifying exception classes that descend from BadRequestError, so they can include the content from the original response.
Updated test_exception_types regular expression to work more correctly on the exception_mapping.md
Additional clean up on the Markdown for exception_mapping.md.
Changed repo_base in test_exception_types.py in order to get a successful run given the README.md instructions for running tests
Having alot of trouble running tests given the instructions in the README.md... does the README need updating?
Description by Korbit AI
What change is being made?
Refactor exception classes to utilize a constant mock request object for instance initialization and document new exceptions in the exception mapping documentation.
Why are these changes being made?
These changes improve code maintainability by avoiding repetitive creation of mock request objects and ensure all relevant exceptions are properly documented. The improvements make the initialization process more consistent and efficient across exception classes while also enhancing the accuracy and completeness of the project's documentation.
Is this description stale? Ask me to generate a new description by commenting
/korbit-generate-pr-description
The latest updates on your projects. Learn more about Vercel for Git ↗︎
| Name | Status | Preview | Comments | Updated (UTC) |
|---|---|---|---|---|
| litellm | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | Nov 23, 2024 8:01pm |
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.
This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.