๐คฏ LobeHub - Super-Agents on Your Team. Add super-agents to the chats your team already uses.They take on work by themselves and get better every week.
TypeScript agentagent-collaborationagent-harnessloop-engineeringmcppersonal-assistantproactive-agentskillssuper-agenttask-management
๐ chore: translate non-English comments to English in brief-types and conversation (#14410)
LobeHub Bot79b84a68ec58
diff --git a/packages/builtin-tool-brief/src/manifest.ts b/packages/builtin-tool-brief/src/manifest.tsindex 71cde996e25..fb3a7fc77b4 100644--- a/packages/builtin-tool-brief/src/manifest.ts+++ b/packages/builtin-tool-brief/src/manifest.ts@@ -19,7 +19,7 @@ export const BriefManifest: BuiltinToolManifest = {items: {properties: {key: { description: 'Action identifier, e.g. "approve", "split"', type: 'string' },- label: { description: 'Display label, e.g. "โ ๅๆๆๅ"', type: 'string' },+ label: { description: 'Display label, e.g. "โ Agree to split"', type: 'string' },type: {description: '"resolve" closes the brief, "comment" prompts for text input',enum: ['resolve', 'comment'],diff --git a/packages/types/src/brief/index.ts b/packages/types/src/brief/index.tsindex 954886bf535..9d5286b51a3 100644--- a/packages/types/src/brief/index.ts+++ b/packages/types/src/brief/index.ts@@ -23,14 +23,14 @@ export interface BriefAction {*/export const DEFAULT_BRIEF_ACTIONS: Record<string, BriefAction[]> = {decision: [- { key: 'approve', label: 'โ ็กฎ่ฎค', type: 'resolve' },- { key: 'feedback', label: '๐ฌ ไฟฎๆนๆ่ง', type: 'comment' },+ { key: 'approve', label: 'โ Confirm', type: 'resolve' },+ { key: 'feedback', label: '๐ฌ Request changes', type: 'comment' },],error: [- { key: 'retry', label: '๐ ้่ฏ', type: 'resolve' },- { key: 'feedback', label: '๐ฌ ๅ้ฆ', type: 'comment' },+ { key: 'retry', label: '๐ Retry', type: 'resolve' },+ { key: 'feedback', label: '๐ฌ Feedback', type: 'comment' },],- insight: [{ key: 'acknowledge', label: '๐ ็ฅๆ', type: 'resolve' }],+ insight: [{ key: 'acknowledge', label: '๐ Acknowledged', type: 'resolve' }],};/** Brief type โ must match DEFAULT_BRIEF_ACTIONS keys and DB schema comment */diff --git a/src/features/Conversation/hooks/useChatListActionsBar.tsx b/src/features/Conversation/hooks/useChatListActionsBar.tsxindex a4657aba769..bdcc6d70313 100644--- a/src/features/Conversation/hooks/useChatListActionsBar.tsx+++ b/src/features/Conversation/hooks/useChatListActionsBar.tsx@@ -110,7 +110,7 @@ export const useChatListActionsBar = ({export: {icon: DownloadIcon,key: 'export',- label: 'ๅฏผๅบไธบ PDF',+ label: 'Export as PDF',},regenerate: {disabled: isRegenerating,diff --git a/src/features/Conversation/store/slices/data/reducer.ts b/src/features/Conversation/store/slices/data/reducer.tsindex 1ba1ca5c714..ea696382c94 100644--- a/src/features/Conversation/store/slices/data/reducer.ts+++ b/src/features/Conversation/store/slices/data/reducer.ts@@ -314,7 +314,7 @@ export const messagesReducer = (}default: {- throw new Error('ๆชๅฎ็ฐ็ dispatch type๏ผ่ฏทๆฃๆฅ reducer');+ throw new Error('Unimplemented dispatch type, check reducer');}}};