🤯 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 (#11086)
LobeHub Bota71d9c70d2e9
diff --git a/packages/types/src/message/common/base.ts b/packages/types/src/message/common/base.tsindex c5e483c91b6..a85dbd3bdb0 100644--- a/packages/types/src/message/common/base.ts+++ b/packages/types/src/message/common/base.ts@@ -5,7 +5,7 @@ import type { ILobeAgentRuntimeErrorType } from '../../agentRuntime';import { ErrorType } from '../../fetch';/**- * 聊天消息错误对象+ * Chat message error object*/export interface ChatMessageError {body?: any;diff --git a/packages/types/src/message/ui/chat.ts b/packages/types/src/message/ui/chat.tsindex a7ac0f50320..f38a310b6c9 100644--- a/packages/types/src/message/ui/chat.ts+++ b/packages/types/src/message/ui/chat.ts@@ -107,7 +107,7 @@ export interface UIChatMessage {content: string;createdAt: number;error?: ChatMessageError | null;- // 扩展字段+ // Extended fieldsextra?: ChatMessageExtra;fileList?: ChatFileItem[];/**@@ -186,11 +186,11 @@ export interface UIChatMessage {tool_call_id?: string;tools?: ChatToolPayload[];/**- * 保存到主题的消息+ * Messages saved to topic*/topicId?: string;/**- * 观测链路 id+ * Observation trace ID*/traceId?: string;updatedAt: number;diff --git a/packages/types/src/message/ui/extra.ts b/packages/types/src/message/ui/extra.tsindex c29bb80a422..45c8f14077d 100644--- a/packages/types/src/message/ui/extra.ts+++ b/packages/types/src/message/ui/extra.ts@@ -9,8 +9,8 @@ export interface ChatTTS {export interface ChatMessageExtra {model?: string;provider?: string;- // 翻译+ // Translationtranslate?: ChatTranslate | false | null;- // TTS+ // Text-to-Speechtts?: ChatTTS;}diff --git a/packages/types/src/openai/plugin.ts b/packages/types/src/openai/plugin.tsindex b37b19fc1cb..ead47c3a2e0 100644--- a/packages/types/src/openai/plugin.ts+++ b/packages/types/src/openai/plugin.ts@@ -53,5 +53,5 @@ export interface OpenAIPluginManifest {name_for_human: string;name_for_model: string;schema_version: string;- // 其他可能的字段...+ // Other possible fields...}diff --git a/packages/types/src/session/agentSession.ts b/packages/types/src/session/agentSession.tsindex 3e748980c8d..e1daaf16718 100644--- a/packages/types/src/session/agentSession.ts+++ b/packages/types/src/session/agentSession.ts@@ -47,7 +47,7 @@ export interface LobeGroupSession {export interface LobeAgentSettings {/**- * 语言模型角色设定+ * Language model agent configuration*/config: LobeAgentConfig;meta: MetaData;diff --git a/packages/types/src/user/settings/index.ts b/packages/types/src/user/settings/index.tsindex 6a194cc6c00..7e7c8c9a9f4 100644--- a/packages/types/src/user/settings/index.ts+++ b/packages/types/src/user/settings/index.ts@@ -28,7 +28,7 @@ export * from './tool';export * from './tts';/**- * 配置设置+ * User configuration settings*/export interface UserSettings {defaultAgent: UserDefaultAgent;