File tree 2 files changed +8
-3
lines changed
src/components/common/Setting
2 files changed +8
-3
lines changed Original file line number Diff line number Diff line change @@ -27,9 +27,14 @@ const chatModelOptions = [
27
27
' gpt-4-0314' ,
28
28
' gpt-4-32k' ,
29
29
' gpt-4-32k-0314' ,
30
+ ' text-davinci-002-render-sha-mobile' ,
31
+ ' gpt-4-mobile' ,
30
32
].map ((model : string ) => {
33
+ let label = model
34
+ if (model === ' text-davinci-002-render-sha-mobile' )
35
+ label = ' gpt-3.5-mobile'
31
36
return {
32
- label: model ,
37
+ label ,
33
38
key: model ,
34
39
value: model ,
35
40
}
@@ -133,7 +138,7 @@ onMounted(() => {
133
138
<span class =" flex-shrink-0 w-[100px]" >{{ $t('setting.chatModel') }}</span >
134
139
<div class =" flex-1" >
135
140
<NSelect
136
- style =" width : 240 px "
141
+ style =" width : 444 px "
137
142
:value =" config.chatModel"
138
143
:options =" chatModelOptions"
139
144
@update-value =" (val) => { config.chatModel = val }"
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ export class ConfigState {
17
17
}
18
18
19
19
// https://platform.openai.com/docs/models/overview
20
- export type CHATMODEL = 'gpt-3.5-turbo' | 'gpt-3.5-turbo-0301' | 'gpt-4' | 'gpt-4-0314' | 'gpt-4-32k' | 'gpt-4-32k-0314'
20
+ export type CHATMODEL = 'gpt-3.5-turbo' | 'gpt-3.5-turbo-0301' | 'gpt-4' | 'gpt-4-0314' | 'gpt-4-32k' | 'gpt-4-32k-0314' | 'ext-davinci-002-render-sha-mobile' | 'gpt-4-mobile'
21
21
22
22
export type ApiModel = 'ChatGPTAPI' | 'ChatGPTUnofficialProxyAPI' | undefined
23
23
You can’t perform that action at this time.
0 commit comments