You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Confirm this is a Node library issue and not an underlying OpenAI API issue
This is an issue with the Node library
Describe the bug
Currently only ChatCompletionUserMessageParam has content: string | Array<ChatCompletionContentPart>, but GPT-4 vision model allows passing images for assistant and system roles.
We need to make the same content type for ChatCompletionAssistantMessageParam and ChatCompletionSystemMessageParam
OS
macOS
Node version
Node v22.0.0
Library version
4.40.2
The text was updated successfully, but these errors were encountered:
maxpain
changed the title
Incorrect content param type in ChatCompletionToolMessageParam
Incorrect content param type in ChatCompletionAssistantMessageParam
May 4, 2024
Confirm this is a Node library issue and not an underlying OpenAI API issue
Describe the bug
Currently only
ChatCompletionUserMessageParam
hascontent: string | Array<ChatCompletionContentPart>
, but GPT-4 vision model allows passing images forassistant
andsystem
roles.We need to make the same content type for
ChatCompletionAssistantMessageParam
andChatCompletionSystemMessageParam
OS
macOS
Node version
Node v22.0.0
Library version
4.40.2
The text was updated successfully, but these errors were encountered: