We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
When creating response in chat completions using gpt-4o-audio-preview-2024-10-01 with funtion getting 500 error
const payloadMessages: ChatCompletionMessageParam[] = [{ role: 'system', content: prompt.toString() }, ...messages]; const result = await this.client.chat.completions.create({ model: 'gpt-4o-audio-preview-2024-10-01', modalities: ['text', 'audio'], audio: { voice: 'alloy', format: 'wav' }, tools: [ { type: 'function', function: { name: 'redirect_to_operator', description: 'testing', }, }, ], messages: payloadMessages, });
Ubuntu 22.04.5 LTS
Node v22.0.0
4.69.0
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Confirm this is a Node library issue and not an underlying OpenAI API issue
Describe the bug
When creating response in chat completions using gpt-4o-audio-preview-2024-10-01 with funtion getting 500 error
To Reproduce
Code snippets
OS
Ubuntu 22.04.5 LTS
Node version
Node v22.0.0
Library version
4.69.0
The text was updated successfully, but these errors were encountered: