Merge #56 into develop_web from feature/20251219_zy

feat(web): Agent add ai prompt

* feature/20251219_zy: (2 commits)
  feat(web): Agent add ai prompt
  feat(web): Agent add ai prompt

Signed-off-by: zhaoying <zhaoying@redbearai.com>
Merged-by: zhaoying <zhaoying@redbearai.com>

CR-link: https://codeup.aliyun.com/redbearai/python/redbear-mem-open/change/56
This commit is contained in:
赵莹
2025-12-25 16:20:21 +08:00
8 changed files with 348 additions and 53 deletions

View File

@@ -1007,6 +1007,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

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