feat(web): Agent add ai prompt

This commit is contained in:
zhaoying
2025-12-25 16:18:26 +08:00
parent bfed5404b4
commit 29ffd0d810
8 changed files with 348 additions and 53 deletions

View File

@@ -990,6 +990,15 @@ export const en = {
apiKeyDeleteContent: 'Once deleted, it cannot be recovered, and applications using this Key will not be able to access the API',
currentValue: 'Current Value',
qpsLimitUnit: 'times/second',
addVariable: 'Insert Variable',
defineVariableName: 'Custom Variable Name',
defineVariableNamePlaceholder: 'Enter variable name, e.g.: user_name',
defineVariableNameExtra: 'Format: Variable name will be automatically wrapped with {{}}',
you: 'You',
ai: 'AI Assistant',
promptChatPlaceholder: 'Describe the prompt you need, e.g.: I need a customer service assistant',
promptChatEmpty: 'No conversation content available',
promptEmpty: 'Describe your use case on the left, and the orchestration preview will be displayed here.',
},
userMemory: {
userMemory: 'User Memory',

View File

@@ -505,6 +505,15 @@ export const zh = {
apiKeyDeleteContent: '删除后将无法恢复使用此Key的应用将无法访问 API',
currentValue: '当前值',
qpsLimitUnit: '次/秒',
addVariable: '插入变量',
defineVariableName: '自定义变量名',
defineVariableNamePlaceholder: '输入变量名例如user_name',
defineVariableNameExtra: '格式:变量名会自动添加{{}}包裹',
you: '你',
ai: 'AI 助手',
promptChatPlaceholder: '描述你需要的提示词,例如:我需要一个客服助手',
promptChatEmpty: '目前没有对话内容',
promptEmpty: '在左侧描述您的用例,编排预览将在此处显示。',
},
// 角色管理相关翻译
role: {