Closed emcmanus closed 7 months ago
The Assistants API requires a special beta header, which is not currently supported.
This PR allows you to specify default headers, e.g.:
config :ex_openai, # ... http_headers: [ {"OpenAI-Beta", "assistants=v1"} ]
Thanks for the PR! Could you add a quick line to the README that explains this change? Maybe under example configuration?
For sure! Pushed. Thanks for your work on this.
awesome! thank you ❤️
The Assistants API requires a special beta header, which is not currently supported.
This PR allows you to specify default headers, e.g.: