File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
js/plugins/compat-oai/src/openai Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -54,11 +54,8 @@ import {
5454 openAIModelRef ,
5555 SUPPORTED_GPT_MODELS ,
5656} from './gpt.js' ;
57+ import { openAITranscriptionModelRef , SUPPORTED_STT_MODELS } from './stt.js' ;
5758import { openAISpeechModelRef , SUPPORTED_TTS_MODELS } from './tts.js' ;
58- import {
59- openAITranscriptionModelRef ,
60- SUPPORTED_STT_MODELS ,
61- } from './whisper.js' ;
6259
6360export type OpenAIPluginOptions = Omit < PluginOptions , 'name' | 'baseURL' > ;
6461
Original file line number Diff line number Diff line change @@ -35,6 +35,9 @@ export const SUPPORTED_STT_MODELS = {
3535 'gpt-4o-transcribe' : openAITranscriptionModelRef ( {
3636 name : 'gpt-4o-transcribe' ,
3737 } ) ,
38+ 'gpt-4o-mini-transcribe' : openAITranscriptionModelRef ( {
39+ name : 'gpt-4o-mini-transcribe' ,
40+ } ) ,
3841 'whisper-1' : openAITranscriptionModelRef ( {
3942 name : 'whisper-1' ,
4043 } ) ,
You can’t perform that action at this time.
0 commit comments