feat(model-editor): enhance model type selection and localization support

- Added a new section for model type selection in ModelEditorDialog.vue, allowing users to choose between different model types with visual indicators.
- Updated the source selection logic to reflect changes in model type and ensure proper state management.
- Refactored related computed properties to utilize the active model type for better clarity and maintainability.
- Enhanced localization files (English, Korean, Russian, Chinese) to include new translations for model type and type label.
- Improved the layout and structure of ModelSettings.vue for better user experience and accessibility.
This commit is contained in:
wizardchen
2026-06-10 20:39:47 +08:00
committed by lyingbug
parent ad27ed134e
commit af08a65821
6 changed files with 273 additions and 118 deletions
+2
View File
@@ -3378,6 +3378,8 @@ export default {
editor: {
addTitle: 'Add Model',
editTitle: 'Edit Model',
sectionType: 'Model Type',
typeLabel: 'Model Type',
sectionSource: 'Source',
sectionProvider: 'Provider Settings',
sectionAdvanced: 'Advanced Options',