Hi everyone,
Updated to openai 3.2.1 and when trying to import the type definitions, seems like there are some issues:
- If you pass an array variable as
messagestoCreateChatCompletionRequest- it will complain about it not being an array, but inline declaration of an array object works fine - Library seems to be missing an equivalent of
CreateCompletionResponse- Assume this should beCreateChatCompletionResponse? But doesn't seem to exist, therefore it's missing type safety here as the "choices" object doesn't map correctly - Also in the API docs, it says that the
/chat/completionsendpoint should return a choices object with amessageskey, but infact it is returning adeltakey instead?
