feat(model-editor): enhance ModelEditorDialog with connection test and improved layout
Added a connection test button in the ModelEditorDialog for remote sources, allowing users to verify API connectivity before saving. Improved the layout by restructuring the source selection section and updating the styling for better usability. Enhanced the drawer component with a customizable header and resizable width, improving the overall user experience. Updated localization files to reflect new UI elements and labels.
This commit is contained in:
@@ -1929,9 +1929,12 @@ export default {
|
||||
editor: {
|
||||
addTitle: 'Добавить модель',
|
||||
editTitle: 'Редактировать модель',
|
||||
sectionSource: 'Источник',
|
||||
sectionProvider: 'Настройки провайдера',
|
||||
sectionAdvanced: 'Дополнительные параметры',
|
||||
sourceLabel: 'Источник модели',
|
||||
sourceLocal: 'Ollama (локальный)',
|
||||
sourceRemote: 'Remote API (удалённый)',
|
||||
sourceLocal: 'Ollama',
|
||||
sourceRemote: 'API',
|
||||
description: {
|
||||
chat: 'Настройте языковую модель для диалогов',
|
||||
embedding: 'Настройте модель встраивания для текстовой векторизации',
|
||||
@@ -4684,6 +4687,8 @@ export default {
|
||||
saveFailed: 'Не удалось сохранить учётные данные',
|
||||
removedToast: 'Учётные данные удалены',
|
||||
removeFailed: 'Не удалось удалить учётные данные',
|
||||
confirmRemovePrompt: 'Удалить учётные данные? Действие необратимо.',
|
||||
confirmRemove: 'Подтвердить удаление',
|
||||
confirmRemoveTitle: 'Удалить {field}?',
|
||||
confirmRemoveBody:
|
||||
'Сохранённые учётные данные будут безвозвратно удалены. Интеграции, использующие их, перестанут работать до настройки нового значения.',
|
||||
|
||||
Reference in New Issue
Block a user