Closed emcmanus closed 6 months ago
Oh that's odd, let me take a look...
The issue comes from the API now following REST more, so there is a GET and POST key on the same /assistants/{id}
map. Previously that wasn't the case, so the parse_path
function matches the first thing, which happens to be post
, causing get
to get ignored
and
So will need to update this to handle cases when multiple keys are defined
Submitted a PR in https://github.com/dvcrn/ex_openai/pull/17
Could you give this branch a go? I have not used the assistants APIs yet
Many
GET
endpoints defined indocs.yaml
aren't auto-generated.For example get_assistant:
ExOpenAI.Assistants.get_assistant
is not defined:A non-exhaustive list of missing functions (maybe it provides some clues)
Some
GET
endpoints are correctly defined, however. E.g.:Thank you! If you have any hints I'd be happy to drop in to the generator code and poke around.