refac
This commit is contained in:
1 parent
1cb74b0bf7
commit
50eff6a672
4 files changed
+7
-15
No files matched your search
@@ -20,7 +20,7 @@
|
|||||||
|
|
||||||
import Evaluations from './Settings/Evaluations.svelte';
|
import Evaluations from './Settings/Evaluations.svelte';
|
||||||
import CodeExecution from './Settings/CodeExecution.svelte';
|
import CodeExecution from './Settings/CodeExecution.svelte';
|
||||||
import Tools from './Settings/Tools.svelte';
|
import Integrations from './Settings/Integrations.svelte';
|
||||||
|
|
||||||
import ChartBar from '../icons/ChartBar.svelte';
|
import ChartBar from '../icons/ChartBar.svelte';
|
||||||
import DocumentChartBar from '../icons/DocumentChartBar.svelte';
|
import DocumentChartBar from '../icons/DocumentChartBar.svelte';
|
||||||
@@ -133,9 +133,9 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
id: 'tools',
|
id: 'tools',
|
||||||
title: 'External Tools',
|
title: 'Integrations',
|
||||||
route: '/admin/settings/tools',
|
route: '/admin/settings/tools',
|
||||||
keywords: ['tools', 'plugins', 'extensions', 'functions', 'openapi', 'server']
|
keywords: ['tools', 'integrations', 'plugins', 'extensions', 'functions', 'openapi', 'server']
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
id: 'documents',
|
id: 'documents',
|
||||||
@@ -311,7 +311,7 @@
|
|||||||
<!-- {$i18n.t('Connections')} -->
|
<!-- {$i18n.t('Connections')} -->
|
||||||
<!-- {$i18n.t('Models')} -->
|
<!-- {$i18n.t('Models')} -->
|
||||||
<!-- {$i18n.t('Evaluations')} -->
|
<!-- {$i18n.t('Evaluations')} -->
|
||||||
<!-- {$i18n.t('External Tools')} -->
|
<!-- {$i18n.t('Integrations')} -->
|
||||||
<!-- {$i18n.t('Documents')} -->
|
<!-- {$i18n.t('Documents')} -->
|
||||||
<!-- {$i18n.t('Web Search')} -->
|
<!-- {$i18n.t('Web Search')} -->
|
||||||
<!-- {$i18n.t('Code Execution')} -->
|
<!-- {$i18n.t('Code Execution')} -->
|
||||||
@@ -526,7 +526,7 @@
|
|||||||
{:else if selectedTab === 'evaluations'}
|
{:else if selectedTab === 'evaluations'}
|
||||||
<Evaluations />
|
<Evaluations />
|
||||||
{:else if selectedTab === 'tools'}
|
{:else if selectedTab === 'tools'}
|
||||||
<Tools />
|
<Integrations />
|
||||||
{:else if selectedTab === 'documents'}
|
{:else if selectedTab === 'documents'}
|
||||||
<Documents
|
<Documents
|
||||||
on:save={async () => {
|
on:save={async () => {
|
||||||
|
|||||||
-8
@@ -104,14 +104,6 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<!-- <div class="mb-2.5 flex w-full justify-between">
|
|
||||||
<div class=" text-xs font-medium">{$i18n.t('Arena Models')}</div>
|
|
||||||
|
|
||||||
<Tooltip content={$i18n.t(`Message rating should be enabled to use this feature`)}>
|
|
||||||
<Switch bind:state={evaluationConfig.ENABLE_EVALUATION_ARENA_MODELS} />
|
|
||||||
</Tooltip>
|
|
||||||
</div> -->
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
{:else}
|
{:else}
|
||||||
File renamed without changes.
@@ -17,7 +17,7 @@
|
|||||||
import Search from '../icons/Search.svelte';
|
import Search from '../icons/Search.svelte';
|
||||||
import XMark from '../icons/XMark.svelte';
|
import XMark from '../icons/XMark.svelte';
|
||||||
import Connections from './Settings/Connections.svelte';
|
import Connections from './Settings/Connections.svelte';
|
||||||
import Tools from './Settings/Tools.svelte';
|
import Integrations from './Settings/Integrations.svelte';
|
||||||
import DatabaseSettings from '../icons/DatabaseSettings.svelte';
|
import DatabaseSettings from '../icons/DatabaseSettings.svelte';
|
||||||
import SettingsAlt from '../icons/SettingsAlt.svelte';
|
import SettingsAlt from '../icons/SettingsAlt.svelte';
|
||||||
import Link from '../icons/Link.svelte';
|
import Link from '../icons/Link.svelte';
|
||||||
@@ -898,7 +898,7 @@
|
|||||||
}}
|
}}
|
||||||
/>
|
/>
|
||||||
{:else if selectedTab === 'tools'}
|
{:else if selectedTab === 'tools'}
|
||||||
<Tools
|
<Integrations
|
||||||
saveSettings={async (updated) => {
|
saveSettings={async (updated) => {
|
||||||
await saveSettings(updated);
|
await saveSettings(updated);
|
||||||
toast.success($i18n.t('Settings saved successfully!'));
|
toast.success($i18n.t('Settings saved successfully!'));
|
||||||
|
|||||||
Reference in new issue
Block a user