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

Fix methods on the same URL getting ignored #17

Merged
merged 3 commits into from
Jan 5, 2024
Merged

Fix methods on the same URL getting ignored #17

merged 3 commits into from
Jan 5, 2024

Conversation

dvcrn
Copy link
Owner

@dvcrn dvcrn commented Dec 23, 2023

When multiple methods were usable on the same URL, only the first in order would get parsed and the rest ignored.

Missing methods now show up correctly:

iex(8)> ExOpenAI.Assistants.
create_assistant/1         create_assistant/2
create_assistant_file/2    create_assistant_file/3
delete_assistant/1         delete_assistant/2
delete_assistant_file/2    delete_assistant_file/3
get_assistant/1            get_assistant/2
get_assistant_file/2       get_assistant_file/3
list_assistant_files/1     list_assistant_files/2
list_assistants/0          list_assistants/1
modify_assistant/1         modify_assistant/2

Fixes #15

@dvcrn dvcrn merged commit e8fa9b2 into main Jan 5, 2024
2 checks passed
@dvcrn dvcrn deleted the missing-methods branch January 5, 2024 04:21
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

Successfully merging this pull request may close these issues.

GET endpoints aren't autogenerated
1 participant