Skip to content

Commit d090049

Browse files
committed
Support gpt-4-turbo alongside gpt-4-turbo-preview
1 parent 3436f16 commit d090049

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

composables/useAssistant.ts

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,10 +65,15 @@ export const useAssistant = ({ chatId, languageModel = ref({ id: 'gpt-4-1106-pre
6565

6666
const languageModels = ref([
6767
{
68-
id: 'gpt-4-turbo-preview',
68+
id: 'gpt-4-turbo',
6969
label: 'GPT-4 Turbo',
7070
contextWindow: '128k',
7171
},
72+
{
73+
id: 'gpt-4-turbo-preview',
74+
label: 'GPT-4 Turbo (Preview)',
75+
contextWindow: '128k',
76+
},
7277
{
7378
id: 'gpt-4-vision-preview',
7479
label: 'GPT-4 Turbo Vision',

0 commit comments

Comments
 (0)