feat(frontend): improve agent and KB editor ID display and intent prompts UX

Expose copyable resource IDs in edit modals and replace the intent prompt
dropdown with independent toggle buttons so multi-intent selection wraps cleanly.
This commit is contained in:
wizardchen
2026-05-28 20:53:34 +08:00
committed by lyingbug
parent 0e1282c2da
commit 83808cc5b7
6 changed files with 269 additions and 91 deletions
+5
View File
@@ -1900,6 +1900,8 @@ export default {
basic: {
title: 'Basic Information',
description: 'Configure the knowledge base name and description',
kbId: 'Knowledge Base ID',
kbIdDesc: 'Use this ID to target the knowledge base in API integrations',
typeLabel: 'Knowledge Base Type',
typeDocument: 'Document-based',
typeFAQ: 'FAQ Q&A',
@@ -4280,9 +4282,12 @@ export default {
},
intentPrompts: {
title: 'Intent Prompts',
sectionDesc: 'Configure intent-specific system prompts; defaults apply when not customized',
intentLabel: 'Intent',
intentDescription: 'Select the intent-specific system prompt to edit',
promptPlaceholder: 'Enter a custom system prompt...',
customized: 'Customized',
empty: 'No intent templates available',
},
selection: {
all: 'All',