Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

post/2 should have a default for the opts parameter #1

Open
nwmahoney opened this issue Dec 18, 2023 · 0 comments
Open

post/2 should have a default for the opts parameter #1

nwmahoney opened this issue Dec 18, 2023 · 0 comments

Comments

@nwmahoney
Copy link
Contributor

Currently we have to type something like:

{:ok, body} = OpenAiClient.post("/v1/threads", [])

I want to just type:

{:ok, body} = OpenAiClient.post("/v1/threads")

Req allows you to do this so it would be nice to have that option here as well.

@nwmahoney nwmahoney changed the title post/2 should have a default the opts parameter post/2 should have a default for the opts parameter Dec 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant