mirror of
https://github.com/open-webui/open-webui.git
synced 2026-11-27 23:59:20 -05:00
refac
This commit is contained in:
1 parent
ca26632a2a
commit
f677fdbf50
59 files changed
+285
-217
No files matched your search
@@ -28,7 +28,7 @@
|
||||
import AttachWebpageModal from './AttachWebpageModal.svelte';
|
||||
import GlobeAlt from '$lib/components/icons/GlobeAlt.svelte';
|
||||
|
||||
const i18n = getContext('i18n');
|
||||
const i18n: any = getContext('i18n');
|
||||
|
||||
export let files = [];
|
||||
|
||||
@@ -54,13 +54,13 @@
|
||||
const toolApprovalModes = [
|
||||
{
|
||||
value: 'full',
|
||||
label: 'Full access',
|
||||
description: 'Run tools without asking for approval.'
|
||||
label: $i18n.t('Full access'),
|
||||
description: $i18n.t('Run tools without asking for approval.')
|
||||
},
|
||||
{
|
||||
value: 'ask',
|
||||
label: 'Ask for approval',
|
||||
description: 'Stop before each tool call until you allow or deny it.'
|
||||
label: $i18n.t('Ask for approval'),
|
||||
description: $i18n.t('Stop before each tool call until you allow or deny it.')
|
||||
}
|
||||
];
|
||||
|
||||
|
||||
Reference in new issue
Block a user