File tree Expand file tree Collapse file tree 3 files changed +59
-8
lines changed Expand file tree Collapse file tree 3 files changed +59
-8
lines changed Original file line number Diff line number Diff line change @@ -328,14 +328,14 @@ export default defineComponent({
328328 <CoreListboxOptions class =" z-20 bg-layer" >
329329 <div class =" flex gap-0.5 items-center p-2 text-layer-muted mb-2" >
330330 <Icon name =" ContextSize" />
331- <small >Total Context Size (in Tokens)</small >
331+ <small >Context Window (in Tokens)</small >
332332 </div >
333333 <div class =" grid auto-rows-auto auto-cols-auto" >
334334 <CoreListboxOption
335335 v-for =" model in languageModels"
336336 :id =" model.id"
337337 :key =" model.id"
338- class =" grid grid-cols-subgrid col-span-2 gap-4"
338+ class =" grid grid-cols-subgrid col-span-3 gap-4"
339339 :disabled =" model.disabled"
340340 :label =" model.label"
341341 :layer =" 1"
@@ -353,6 +353,14 @@ export default defineComponent({
353353 {{ model.contextWindow }}
354354 </small >
355355 </span >
356+
357+ <span v-if =" model.url" class =" flex items-center justify-start gap-4 col-start-3" >
358+ <small class =" text-xs text-layer-muted flex items-center gap-0.5" >
359+ <CoreLink title =" Model Page" :to =" model.url" @click.stop >
360+ <Icon name =" Info" />
361+ </CoreLink >
362+ </small >
363+ </span >
356364 </CoreListboxOption >
357365 </div >
358366 </CoreListboxOptions >
Original file line number Diff line number Diff line change @@ -65,6 +65,7 @@ const icons = {
6565 Graph: Tabler .IconAffiliate ,
6666 ImagePlus: Tabler .IconPhotoPlus ,
6767 Inbox: Tabler .IconInbox ,
68+ Info: Tabler .IconInfoCircle ,
6869 Instruction: Tabler .IconListDetails ,
6970 LockClosed: Tabler .IconLock ,
7071 LockOpen: Tabler .IconLockOpen ,
Original file line number Diff line number Diff line change @@ -14,33 +14,75 @@ type ModelOption = {
1414 contextWindow : string ,
1515 comingSoon ?: boolean ,
1616 disabled ?: boolean ,
17+ url ?: string ,
1718}
1819
1920const defaultLanguageModels : ModelOption [ ] = [
2021 {
21- id : 'gpt-4o' ,
22- label : 'GPT-4o' ,
23- contextWindow : '128k' ,
22+ id : 'gpt-4.1' ,
23+ label : 'GPT-4.1' ,
24+ contextWindow : '1m' ,
25+ url : 'https://platform.openai.com/docs/models/gpt-4.1' ,
2426 } ,
2527 {
26- id : 'gpt-4o-mini' ,
27- label : 'GPT-4o Mini' ,
28- contextWindow : '128k' ,
28+ id : 'gpt-4.1-mini' ,
29+ label : 'GPT-4.1 Mini' ,
30+ contextWindow : '1m' ,
31+ url : 'https://platform.openai.com/docs/models/gpt-4.1-mini' ,
32+ } ,
33+ {
34+ id : 'gpt-4.1-nano' ,
35+ label : 'GPT-4.1 Nano' ,
36+ contextWindow : '1m' ,
37+ url : 'https://platform.openai.com/docs/models/gpt-4.1-nano' ,
38+ } ,
39+ {
40+ id : 'o4-mini' ,
41+ label : 'o4 Mini' ,
42+ contextWindow : '200k' ,
43+ url : 'https://platform.openai.com/docs/models/o4-mini' ,
44+ } ,
45+ {
46+ id : 'o3' ,
47+ label : 'o3' ,
48+ contextWindow : '200k' ,
49+ url : 'https://platform.openai.com/docs/models/o3' ,
50+ } ,
51+ {
52+ id : 'o3-mini' ,
53+ label : 'o3 Mini' ,
54+ contextWindow : '200k' ,
55+ url : 'https://platform.openai.com/docs/models/o3-mini' ,
2956 } ,
3057 {
3158 id : 'o1' ,
3259 label : 'o1' ,
3360 contextWindow : '200k' ,
61+ url : 'https://platform.openai.com/docs/models/o1' ,
3462 } ,
3563 {
3664 id : 'o1-mini' ,
3765 label : 'o1 Mini' ,
3866 contextWindow : '128k' ,
67+ url : 'https://platform.openai.com/docs/models/o1-mini' ,
3968 } ,
4069 {
4170 id : 'o1-preview' ,
4271 label : 'o1 Preview' ,
4372 contextWindow : '128k' ,
73+ url : 'https://platform.openai.com/docs/models/o1-preview' ,
74+ } ,
75+ {
76+ id : 'gpt-4o' ,
77+ label : 'GPT-4o' ,
78+ contextWindow : '128k' ,
79+ url : 'https://platform.openai.com/docs/models/gpt-4o' ,
80+ } ,
81+ {
82+ id : 'gpt-4o-mini' ,
83+ label : 'GPT-4o Mini' ,
84+ contextWindow : '128k' ,
85+ url : 'https://platform.openai.com/docs/models/gpt-4o-mini' ,
4486 } ,
4587 {
4688 id : 'gpt-4-turbo' ,
You can’t perform that action at this time.
0 commit comments