Skip to content

Commit 1ca89e8

Browse files
committed
Add gpt-5 models
1 parent bf09d24 commit 1ca89e8

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

composables/useAssistant.ts

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,30 @@ type ModelOption = {
1818
}
1919

2020
const defaultLanguageModels: ModelOption[] = [
21+
{
22+
id: 'gpt-5',
23+
label: 'GPT-5',
24+
contextWindow: '400k',
25+
url: 'https://platform.openai.com/docs/models/gpt-5',
26+
},
27+
{
28+
id: 'gpt-5-mini',
29+
label: 'GPT-5 Mini',
30+
contextWindow: '400k',
31+
url: 'https://platform.openai.com/docs/models/gpt-5-mini',
32+
},
33+
{
34+
id: 'gpt-5-nano',
35+
label: 'GPT-5 Nano',
36+
contextWindow: '400k',
37+
url: 'https://platform.openai.com/docs/models/gpt-5-nano',
38+
},
39+
{
40+
id: 'gpt-5-chat-latest',
41+
label: 'GPT-5 Chat',
42+
contextWindow: '400k',
43+
url: 'https://platform.openai.com/docs/models/gpt-5-chat-latest',
44+
},
2145
{
2246
id: 'gpt-4.1',
2347
label: 'GPT-4.1',

0 commit comments

Comments
 (0)