symposium 0.13.4 → 0.13.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/models/OpenAIModel.js +1 -1
- package/package.json +1 -1
package/models/OpenAIModel.js
CHANGED
|
@@ -142,7 +142,7 @@ export default class OpenAIModel extends Model {
|
|
|
142
142
|
case 'audio':
|
|
143
143
|
if (c.content.type !== 'base64')
|
|
144
144
|
throw new Error('Audio content must be base64 encoded for this model');
|
|
145
|
-
if (c.content.mime.startsWith('audio/'))
|
|
145
|
+
if (!c.content.mime.startsWith('audio/'))
|
|
146
146
|
throw new Error('Audio content must have a valid MIME type');
|
|
147
147
|
|
|
148
148
|
messages.push({
|