🤯 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 packages/types (#11405)
LobeHub Botce29ef537f72
diff --git a/packages/types/src/agent/chatConfig.ts b/packages/types/src/agent/chatConfig.tsindex 2035486b307..491740cfc8b 100644--- a/packages/types/src/agent/chatConfig.ts+++ b/packages/types/src/agent/chatConfig.ts@@ -11,7 +11,7 @@ export interface WorkingModel {export interface LobeAgentChatConfig {/**- * Local System 配置(桌面端专用)+ * Local System configuration (desktop only)*/localSystem?: LocalSystemConfig;enableAutoCreateTopic?: boolean;diff --git a/packages/types/src/agent/item.ts b/packages/types/src/agent/item.tsindex 3398ced9e38..0192f4d06fa 100644--- a/packages/types/src/agent/item.ts+++ b/packages/types/src/agent/item.ts@@ -12,8 +12,8 @@ export interface LobeAgentConfig {chatConfig: LobeAgentChatConfig;/**- * 编辑器内容(JSON 格式)- * 用于保存富文本编辑器的完整状态,包括 mention 等特殊节点+ * Editor content (JSON format)+ * Used to save the complete state of the rich text editor, including special nodes like mention*/editorData?: any;enableAgentMode?: boolean;@@ -26,41 +26,41 @@ export interface LobeAgentConfig {*/knowledgeBases?: KnowledgeBaseItem[];/**- * 角色所使用的语言模型+ * Language model used by the agent* @default gpt-4o-mini*/model: string;/**- * 开场白+ * Opening message*/openingMessage?: string;/**- * 开场问题+ * Opening questions*/openingQuestions?: string[];/**- * 语言模型参数+ * Language model parameters*/params: LLMParams;/**- * 启用的插件+ * Enabled plugins*/plugins?: string[];/**- * 模型供应商+ * Model provider*/provider?: string;/**- * 系统角色+ * System role*/systemRole: string;/**- * 语音服务+ * Text-to-speech service*/tts: LobeAgentTTSConfig;diff --git a/packages/types/src/agentRuntime.ts b/packages/types/src/agentRuntime.tsindex ee2b8b3eead..6dc51f26d89 100644--- a/packages/types/src/agentRuntime.ts+++ b/packages/types/src/agentRuntime.ts@@ -1,7 +1,7 @@/* eslint-disable sort-keys-fix/sort-keys-fix */// ******* Runtime Biz Error ******* //export const AgentRuntimeErrorType = {- AgentRuntimeError: 'AgentRuntimeError', // Agent Runtime 模块运行时错误+ AgentRuntimeError: 'AgentRuntimeError', // Agent Runtime module runtime errorLocationNotSupportError: 'LocationNotSupportError',QuotaLimitReached: 'QuotaLimitReached',diff --git a/packages/types/src/clientDB.ts b/packages/types/src/clientDB.tsindex ce468f8e372..078a63952b7 100644--- a/packages/types/src/clientDB.ts+++ b/packages/types/src/clientDB.ts@@ -1,4 +1,4 @@-// 定义加载状态类型+// Define loading state typesexport enum DatabaseLoadingState {Error = 'error',Finished = 'finished',@@ -19,7 +19,7 @@ export const ClientDatabaseInitStages = [DatabaseLoadingState.Finished,];-// 定义进度回调接口+// Define progress callback interfaceexport interface ClientDBLoadingProgress {costTime?: number;phase: 'wasm' | 'dependencies';diff --git a/packages/types/src/topic/topic.ts b/packages/types/src/topic/topic.tsindex e34aa3fafe6..aaae18d96d5 100644--- a/packages/types/src/topic/topic.ts+++ b/packages/types/src/topic/topic.ts@@ -43,8 +43,8 @@ export interface ChatTopicMetadata {userMemoryExtractRunState?: TopicUserMemoryExtractRunState;userMemoryExtractStatus?: 'pending' | 'completed' | 'failed';/**- * Local System 工作目录(桌面端专用)- * 优先级高于 Agent 级别的设置+ * Local System working directory (desktop only)+ * Priority is higher than Agent-level settings*/workingDirectory?: string;}