litellm
litellm copied to clipboard
[BUG Fix] Issue With IBM WatsonX integration for Date Format
- Updated the parsing method for the
created_atfield in the JSON response. - Changed from using
datetime.fromisoformattodatetime.strptimefor improved compatibility with the expected date format. - The new format used is
"%Y-%m-%dT%H:%M:%S.%fZ", ensuring accurate timestamp conversion. - This change enhances the robustness of the timestamp handling in the
_process_text_gen_responsefunction.
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 | Oct 21, 2024 1:28pm |
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.