@@ -17,7 +17,7 @@ export const useSettingsSearch = (searchQuery: string) => {
1717 const allVisible = new Set ( [
1818 'language' , 'theme' , 'defaultPersona' , 'fontFamily' , 'colorPalette' , 'fontSize' , 'password' ,
1919 'autoTitleGeneration' , 'titleGenModel' ,
20- 'showThoughts' , 'llmProvider' , 'apiKey' , 'apiBaseUrl' , 'temperature' ,
20+ 'showThoughts' , 'llmProvider' , 'apiKey' , 'apiBaseUrl' , 'customModels' , ' temperature',
2121 'contextLength' , 'maxOutputTokens' , 'enableSearch' ,
2222 'streamInactivityTimeout' , 'data' , 'pdf-management'
2323 ] ) ;
@@ -45,6 +45,7 @@ export const useSettingsSearch = (searchQuery: string) => {
4545 { id : 'llmProvider' , section : 'advanced' , texts : [ t ( 'llmProvider' ) , t ( 'llmProviderDesc' ) , translations . zh . llmProvider , translations . zh . llmProviderDesc ] } ,
4646 { id : 'apiKey' , section : 'advanced' , texts : [ t ( 'apiKey' ) , t ( 'apiKeyDesc' ) , translations . zh . apiKey , translations . zh . apiKeyDesc ] } ,
4747 { id : 'apiBaseUrl' , section : 'advanced' , texts : [ t ( 'apiBaseUrl' ) , t ( 'apiBaseUrlDesc' ) , translations . zh . apiBaseUrl , translations . zh . apiBaseUrlDesc ] } ,
48+ { id : 'customModels' , section : 'advanced' , texts : [ t ( 'customModels' ) , t ( 'customModelsDesc' ) , translations . zh . customModels , translations . zh . customModelsDesc , '自定义模型' , 'custom models' , 'model list' ] } ,
4849 { id : 'temperature' , section : 'advanced' , texts : [ t ( 'temperature' ) , t ( 'temperatureDesc' ) , translations . zh . temperature , translations . zh . temperatureDesc ] } ,
4950 { id : 'contextLength' , section : 'advanced' , texts : [ t ( 'contextLength' ) , t ( 'contextLengthDesc' ) , translations . zh . contextLength , translations . zh . contextLengthDesc ] } ,
5051 { id : 'enableSearch' , section : 'advanced' , texts : [ t ( 'enableSearch' ) , t ( 'enableSearchDesc' ) , translations . zh . enableSearch , translations . zh . enableSearchDesc ] } ,
0 commit comments