feat: multiple models chat user permissions

This commit is contained in:
Timothy Jaeryang Baek
2025-04-12 17:37:30 -07:00
parent 881d81d87f
commit 79dff685ea
5 changed files with 69 additions and 50 deletions

View File

@@ -63,6 +63,7 @@
file_upload: true,
delete: true,
edit: true,
multiple_models: true,
temporary: true,
temporary_enforced: false
},

View File

@@ -24,6 +24,7 @@
delete: true,
edit: true,
file_upload: true,
multiple_models: true,
temporary: true,
temporary_enforced: false
},
@@ -272,6 +273,14 @@
<Switch bind:state={permissions.chat.edit} />
</div>
<div class=" flex w-full justify-between my-2 pr-2">
<div class=" self-center text-xs font-medium">
{$i18n.t('Allow Multiple Models in Chat')}
</div>
<Switch bind:state={permissions.chat.multiple_models} />
</div>
<div class=" flex w-full justify-between my-2 pr-2">
<div class=" self-center text-xs font-medium">
{$i18n.t('Allow Temporary Chat')}