File tree 3 files changed +2
-9
lines changed
3 files changed +2
-9
lines changed Original file line number Diff line number Diff line change @@ -945,7 +945,7 @@ export default function Home() {
945
945
< div className = "ml-1 flex-1 max-sm:ml-0.5" >
946
946
< h2 className = "text-line-clamp break-all font-bold leading-6 max-sm:text-sm" > { conversationTitle } </ h2 >
947
947
< ModelSelect
948
- className = "flex h-4 justify-start border-none px-0 py-0 leading-4 text-slate-500 hover:text-slate-700 dark:hover:text-slate-400"
948
+ className = "flex h-4 justify-start border-none px-0 py-0 text-left leading-4 text-slate-500 hover:text-slate-700 dark:hover:text-slate-400"
949
949
defaultModel = { model }
950
950
/>
951
951
</ div >
Original file line number Diff line number Diff line change @@ -15,7 +15,6 @@ import { useSettingStore } from '@/store/setting'
15
15
import { GEMINI_API_BASE_URL } from '@/constant/urls'
16
16
import { encodeToken } from '@/utils/signature'
17
17
import optimizePrompt , { type RequestProps } from '@/utils/optimizePrompt'
18
- import { upperFirst } from 'lodash-es'
19
18
20
19
const formSchema = z . object ( {
21
20
content : z . string ( ) ,
@@ -79,7 +78,7 @@ function SystemInstruction() {
79
78
} , [ systemInstruction ] )
80
79
81
80
return (
82
- < Card >
81
+ < Card className = "dark:border-slate-500" >
83
82
< CardHeader className = "flex flex-row justify-between space-y-0 px-4 pb-1 pt-3" >
84
83
< CardTitle className = "inline-flex text-lg font-medium" >
85
84
{ t ( 'assistantSetting' ) } { ' ' }
Original file line number Diff line number Diff line change @@ -6,12 +6,6 @@ export const Model: Record<string, string> = {
6
6
'gemini-1.5-flash-latest' : 'Gemini 1.5 Flash Latest' ,
7
7
'gemini-1.5-flash-8b' : 'Gemini 1.5 Flash-8B' ,
8
8
'gemini-1.5-flash-8b-latest' : 'Gemini 1.5 Flash-8B Latest' ,
9
- 'gemini-1.0-pro-vision' : 'Gemini 1.0 Pro Vision' ,
10
- 'gemini-1.0-pro-vision-latest' : 'Gemini 1.0 Pro Vision Latest' ,
11
- 'gemini-1.0-pro' : 'Gemini 1.0 Pro' ,
12
- 'gemini-1.0-pro-latest' : 'Gemini 1.0 Pro Latest' ,
13
- 'gemini-pro-vision' : 'Gemini Pro Vision' ,
14
- 'gemini-pro' : 'Gemini Pro' ,
15
9
}
16
10
17
11
export const OldVisionModel = [ 'gemini-pro-vision' , 'gemini-1.0-pro-vision-latest' ]
You can’t perform that action at this time.
0 commit comments