@@ -29,7 +29,6 @@ export type NavItem =
2929 | 'section:api:group:model-providers'
3030 | 'section:api:group:api-configurations'
3131 | 'section:api:group:api-defaults'
32- | 'section:api:group:api-behavior'
3332 | 'section:api:group:system-instructions'
3433
3534type NavConfigItem = { id : NavItem ; label : TranslationKey }
@@ -75,10 +74,6 @@ const NAV_ITEMS_CONFIG: NavConfigItem[] = [
7574 id : 'section:api:group:api-defaults' ,
7675 label : 'api-calls.default-configurations.title'
7776 } ,
78- {
79- id : 'section:api:group:api-behavior' ,
80- label : 'api-calls.behavior.title'
81- } ,
8277 {
8378 id : 'section:api:group:system-instructions' ,
8479 label : 'api-calls.system-instructions.title'
@@ -98,7 +93,6 @@ type Props = {
9893 gemini_user_id : number | null
9994 ai_studio_user_id : number | null
10095 send_with_shift_enter : boolean
101- auto_run_patch_repair : boolean
10296 templates : Record < string , Template [ ] >
10397 on_update_templates : ( key : string , templates : Template [ ] ) => void
10498 on_edit_template : ( key : string , index : number ) => void
@@ -124,7 +118,6 @@ type Props = {
124118 on_gemini_user_id_change : ( id : number | null ) => void
125119 on_ai_studio_user_id_change : ( id : number | null ) => void
126120 on_send_with_shift_enter_change : ( enabled : boolean ) => void
127- on_auto_run_patch_repair_change : ( enabled : boolean ) => void
128121 on_open_keybindings : ( search ?: string ) => void
129122 on_open_editor_settings : ( ) => void
130123 on_open_ignore_patterns_settings : ( ) => void
@@ -176,7 +169,6 @@ export const Home: React.FC<Props> = (props) => {
176169 'section:api:group:model-providers' : null ,
177170 'section:api:group:api-configurations' : null ,
178171 'section:api:group:api-defaults' : null ,
179- 'section:api:group:api-behavior' : null ,
180172 'section:api:group:system-instructions' : null
181173 } )
182174
@@ -216,7 +208,6 @@ export const Home: React.FC<Props> = (props) => {
216208 if (
217209 [
218210 'section:api:group:api-defaults' ,
219- 'section:api:group:api-behavior' ,
220211 'section:api:group:system-instructions'
221212 ] . includes ( item . id ) &&
222213 props . api_configurations . length === 0
@@ -304,7 +295,6 @@ export const Home: React.FC<Props> = (props) => {
304295 if (
305296 [
306297 'section:api:group:api-defaults' ,
307- 'section:api:group:api-behavior' ,
308298 'section:api:group:system-instructions'
309299 ] . includes ( item . id ) &&
310300 props . api_configurations . length === 0
@@ -406,7 +396,6 @@ export const Home: React.FC<Props> = (props) => {
406396 if (
407397 [
408398 'section:api:group:api-defaults' ,
409- 'section:api:group:api-behavior' ,
410399 'section:api:group:system-instructions'
411400 ] . includes ( item . id ) &&
412401 props . api_configurations . length === 0
@@ -536,10 +525,6 @@ export const Home: React.FC<Props> = (props) => {
536525 on_delete_provider = { props . on_delete_provider }
537526 on_edit_provider = { props . on_edit_provider }
538527 on_reorder_providers = { props . on_reorder_providers }
539- auto_run_patch_repair = { props . auto_run_patch_repair }
540- on_auto_run_patch_repair_change = {
541- props . on_auto_run_patch_repair_change
542- }
543528 on_open_external_url = { props . on_open_external_url }
544529 api_configurations = { props . api_configurations }
545530 defaults = { props . defaults }
0 commit comments