feat: Provides support for OpenAI compatible APIs that support json_o…#236
feat: Provides support for OpenAI compatible APIs that support json_o…#236largomst wants to merge 1 commit into
Conversation
|
How does this exactly differ from using OpenAI's library? You can already change the base url |
|
Right, this would use Using this approach would need much better error handling than what's implemented now (not a bad thing per se) and result in retries, which would mean it costs more to run |
|
`
(node:21436) [DEP0040] DeprecationWarning: The ZodError: [ Node.js v22.5.1 |
|
I encountered an error when trying to use @largomst's solution with the DeepSeek API. The error occurs because the API response doesn't include the required "newName" field, causing the Zod validation to fail. Here's the error I got when running the command: The key error message is: claude implemented several fixes to handle this issue:
|
|
I get UnprocessableEntityError: 422 Failed to deserialize the JSON body into the target type: response_format: response_format.type How to fix this problem? @largomst @jehna @MohammedInTheCloud @ocxo @0xdevalias |
Introduce @instructor-ai/instructor to add support for OpenAI-compatible APIs that support json_object.