File tree Expand file tree Collapse file tree 2 files changed +8
-3
lines changed
src/components/common/Setting Expand file tree Collapse file tree 2 files changed +8
-3
lines changed Original file line number Diff line number Diff line change @@ -27,9 +27,14 @@ const chatModelOptions = [
2727 ' gpt-4-0314' ,
2828 ' gpt-4-32k' ,
2929 ' gpt-4-32k-0314' ,
30+ ' text-davinci-002-render-sha-mobile' ,
31+ ' gpt-4-mobile' ,
3032].map ((model : string ) => {
33+ let label = model
34+ if (model === ' text-davinci-002-render-sha-mobile' )
35+ label = ' gpt-3.5-mobile'
3136 return {
32- label: model ,
37+ label ,
3338 key: model ,
3439 value: model ,
3540 }
@@ -133,7 +138,7 @@ onMounted(() => {
133138 <span class =" flex-shrink-0 w-[100px]" >{{ $t('setting.chatModel') }}</span >
134139 <div class =" flex-1" >
135140 <NSelect
136- style =" width : 240 px "
141+ style =" width : 444 px "
137142 :value =" config.chatModel"
138143 :options =" chatModelOptions"
139144 @update-value =" (val) => { config.chatModel = val }"
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ export class ConfigState {
1717}
1818
1919// 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'
2121
2222export type ApiModel = 'ChatGPTAPI' | 'ChatGPTUnofficialProxyAPI' | undefined
2323
You can’t perform that action at this time.
0 commit comments