feat: Enhance agent configuration and localization for web search prompts

- Updated agent configuration to support separate system prompts for web search enabled and disabled states.
- Removed deprecated agent configuration parameters to streamline settings management.
- Enhanced UI components in AgentSettings.vue to allow configuration of custom prompts based on web search status.
- Improved localization in English, Russian, and Chinese for new prompt settings and UI elements.
- Refactored related API and service logic to accommodate changes in agent configuration structure.
This commit is contained in:
wizardchen
2025-11-19 19:27:25 +08:00
parent ddf6b4e748
commit 3bf2a14499
44 changed files with 2412 additions and 1646 deletions
+4 -1
View File
@@ -1207,7 +1207,10 @@ export default {
hintSuffix: 'откроется список доступных подстановок',
custom: 'Пользовательский промпт',
disabledHint: 'Сейчас используется промпт по умолчанию. Включите пользовательский, чтобы применить содержимое ниже.',
placeholder: 'Введите системный промпт или оставьте пустым для значения по умолчанию...'
placeholder: 'Введите системный промпт или оставьте пустым для значения по умолчанию...',
tabHint: 'Настройте разные промпты для режимов с включённым и отключённым веб-поиском.',
tabWebOn: 'Веб-поиск включён',
tabWebOff: 'Веб-поиск отключён'
},
reset: {
header: 'Сбросить к промпту по умолчанию',