-
Notifications
You must be signed in to change notification settings - Fork 36
Description
Thanks for this excellent app. I encountered a few minor errors using OpenAI (provider) and gpt-4.1 (model). It could be my setup was wonky or OpenAI as an llm provider is still being worked on:
400 Setting 'max_tokens' and 'max_completion_tokens' at the same time is not supported.
After reading the comment on o3 and similar models, I tried commenting out 'max_comletion_tokens' and it worked fine.
There was this error after a connection attempt to OpenAI as provider:
400 Invalid schema for response_format 'schema': schema must be a JSON Schema of 'type: "object"', got 'type: "string"'.
But it works fine if non-object schemas are detected, and then, for OpenAI, wrapped in z.object({ value: schema }) for OpenAI compatibility, and then the response is unwrapped.
And the last one happened in a new chat, when trying to send the first message, just needed parameter filtering because OpenAI doesn't use those parameters:
400 Unrecognized request arguments supplied: dry_multiplier, min_p
Other than those, haven't encountered any other issues. And it's working fine for me after resolving them. Excited to see where this project goes!