Skip to content

Commit 50eff6a

Browse files
committed
refac
1 parent 1cb74b0 commit 50eff6a

4 files changed

Lines changed: 7 additions & 15 deletions

File tree

src/lib/components/admin/Settings.svelte

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
2121
import Evaluations from './Settings/Evaluations.svelte';
2222
import CodeExecution from './Settings/CodeExecution.svelte';
23-
import Tools from './Settings/Tools.svelte';
23+
import Integrations from './Settings/Integrations.svelte';
2424
2525
import ChartBar from '../icons/ChartBar.svelte';
2626
import DocumentChartBar from '../icons/DocumentChartBar.svelte';
@@ -133,9 +133,9 @@
133133
},
134134
{
135135
id: 'tools',
136-
title: 'External Tools',
136+
title: 'Integrations',
137137
route: '/admin/settings/tools',
138-
keywords: ['tools', 'plugins', 'extensions', 'functions', 'openapi', 'server']
138+
keywords: ['tools', 'integrations', 'plugins', 'extensions', 'functions', 'openapi', 'server']
139139
},
140140
{
141141
id: 'documents',
@@ -311,7 +311,7 @@
311311
<!-- {$i18n.t('Connections')} -->
312312
<!-- {$i18n.t('Models')} -->
313313
<!-- {$i18n.t('Evaluations')} -->
314-
<!-- {$i18n.t('External Tools')} -->
314+
<!-- {$i18n.t('Integrations')} -->
315315
<!-- {$i18n.t('Documents')} -->
316316
<!-- {$i18n.t('Web Search')} -->
317317
<!-- {$i18n.t('Code Execution')} -->
@@ -526,7 +526,7 @@
526526
{:else if selectedTab === 'evaluations'}
527527
<Evaluations />
528528
{:else if selectedTab === 'tools'}
529-
<Tools />
529+
<Integrations />
530530
{:else if selectedTab === 'documents'}
531531
<Documents
532532
on:save={async () => {

src/lib/components/admin/Settings/Tools.svelte renamed to src/lib/components/admin/Settings/Integrations.svelte

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -104,14 +104,6 @@
104104
</div>
105105
</div>
106106
</div>
107-
108-
<!-- <div class="mb-2.5 flex w-full justify-between">
109-
<div class=" text-xs font-medium">{$i18n.t('Arena Models')}</div>
110-
111-
<Tooltip content={$i18n.t(`Message rating should be enabled to use this feature`)}>
112-
<Switch bind:state={evaluationConfig.ENABLE_EVALUATION_ARENA_MODELS} />
113-
</Tooltip>
114-
</div> -->
115107
</div>
116108
</div>
117109
{:else}
File renamed without changes.

src/lib/components/chat/SettingsModal.svelte

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
import Search from '../icons/Search.svelte';
1818
import XMark from '../icons/XMark.svelte';
1919
import Connections from './Settings/Connections.svelte';
20-
import Tools from './Settings/Tools.svelte';
20+
import Integrations from './Settings/Integrations.svelte';
2121
import DatabaseSettings from '../icons/DatabaseSettings.svelte';
2222
import SettingsAlt from '../icons/SettingsAlt.svelte';
2323
import Link from '../icons/Link.svelte';
@@ -898,7 +898,7 @@
898898
}}
899899
/>
900900
{:else if selectedTab === 'tools'}
901-
<Tools
901+
<Integrations
902902
saveSettings={async (updated) => {
903903
await saveSettings(updated);
904904
toast.success($i18n.t('Settings saved successfully!'));

0 commit comments

Comments
 (0)