🤯 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
🐛 fix: update test snapshots for model description changes (#11008)
Innei626e808a1c87
diff --git a/src/server/routers/lambda/config/__snapshots__/index.test.ts.snap b/src/server/routers/lambda/config/__snapshots__/index.test.ts.snapindex f07090da4eb..ee8e6ded404 100644--- a/src/server/routers/lambda/config/__snapshots__/index.test.ts.snap+++ b/src/server/routers/lambda/config/__snapshots__/index.test.ts.snap@@ -28,7 +28,7 @@ exports[`configRouter > getGlobalConfig > Model Provider env > OPENAI_MODEL_LIST"functionCall": true,},"contextWindowTokens": 128000,- "description": "最新的 GPT-4 Turbo 模型具备视觉功能。现在,视觉请求可以使用 JSON 模式和函数调用。 GPT-4 Turbo 是一个增强版本,为多模态任务提供成本效益高的支持。它在准确性和效率之间找到平衡,适合需要进行实时交互的应用程序场景。",+ "description": "The latest GPT-4 Turbo adds vision. Visual requests support JSON mode and function calling. It is a cost-effective multimodal model that balances accuracy and efficiency for real-time applications.","displayName": "gpt-4-32k","enabled": true,"id": "gpt-4-0125-preview",@@ -64,7 +64,7 @@ exports[`configRouter > getGlobalConfig > Model Provider env > OPENAI_MODEL_LIST"functionCall": true,},"contextWindowTokens": 16384,- "description": "GPT 3.5 Turbo,适用于各种文本生成和理解任务,Currently points to gpt-3.5-turbo-0125",+ "description": "GPT 3.5 Turbo for text generation and understanding; currently points to gpt-3.5-turbo-0125.","displayName": "GPT-3.5 Turbo 1106","enabled": true,"id": "gpt-3.5-turbo-1106",@@ -94,7 +94,7 @@ exports[`configRouter > getGlobalConfig > Model Provider env > OPENAI_MODEL_LIST"functionCall": true,},"contextWindowTokens": 16384,- "description": "GPT 3.5 Turbo,适用于各种文本生成和理解任务,Currently points to gpt-3.5-turbo-0125",+ "description": "GPT 3.5 Turbo for text generation and understanding; currently points to gpt-3.5-turbo-0125.","displayName": "GPT-3.5 Turbo","enabled": true,"id": "gpt-3.5-turbo",@@ -123,7 +123,7 @@ exports[`configRouter > getGlobalConfig > Model Provider env > OPENAI_MODEL_LIST"functionCall": true,},"contextWindowTokens": 8192,- "description": "GPT-4 提供了一个更大的上下文窗口,能够处理更长的文本输入,适用于需要广泛信息整合和数据分析的场景。",+ "description": "GPT-4 provides a larger context window to handle longer inputs, suitable for broad information synthesis and data analysis.","displayName": "GPT-4","enabled": true,"id": "gpt-4",@@ -152,7 +152,7 @@ exports[`configRouter > getGlobalConfig > Model Provider env > OPENAI_MODEL_LIST"functionCall": true,},"contextWindowTokens": 32768,- "description": "GPT-4 提供了一个更大的上下文窗口,能够处理更长的文本输入,适用于需要广泛信息整合和数据分析的场景。",+ "description": "GPT-4 provides a larger context window to handle longer inputs for scenarios needing broad information integration and data analysis.","displayName": "GPT-4 32K","enabled": true,"id": "gpt-4-32k",@@ -181,7 +181,7 @@ exports[`configRouter > getGlobalConfig > Model Provider env > OPENAI_MODEL_LIST"functionCall": true,},"contextWindowTokens": 128000,- "description": "最新的 GPT-4 Turbo 模型具备视觉功能。现在,视觉请求可以使用 JSON 模式和函数调用。 GPT-4 Turbo 是一个增强版本,为多模态任务提供成本效益高的支持。它在准确性和效率之间找到平衡,适合需要进行实时交互的应用程序场景。",+ "description": "The latest GPT-4 Turbo adds vision. Visual requests support JSON mode and function calling. It is a cost-effective multimodal model that balances accuracy and efficiency for real-time applications.","displayName": "GPT-4 Turbo Preview 1106","enabled": true,"id": "gpt-4-1106-preview",@@ -222,7 +222,7 @@ exports[`configRouter > getGlobalConfig > Model Provider env > OPENAI_MODEL_LIST"functionCall": true,},"contextWindowTokens": 128000,- "description": "最新的 GPT-4 Turbo 模型具备视觉功能。现在,视觉请求可以使用 JSON 模式和函数调用。 GPT-4 Turbo 是一个增强版本,为多模态任务提供成本效益高的支持。它在准确性和效率之间找到平衡,适合需要进行实时交互的应用程序场景。",+ "description": "The latest GPT-4 Turbo adds vision. Visual requests support JSON mode and function calling. It is a cost-effective multimodal model that balances accuracy and efficiency for real-time applications.","displayName": "GPT-4 Turbo Preview 1106","enabled": true,"id": "gpt-4-1106-preview",@@ -258,7 +258,7 @@ exports[`configRouter > getGlobalConfig > Model Provider env > OPENROUTER_MODEL_{"abilities": {},"contextWindowTokens": 131072,- "description": "LLaMA 3.1 提供多语言支持,是业界领先的生成模型之一。",+ "description": "LLaMA 3.1 offers multilingual support and is one of the leading generative models.","displayName": "Llama 3.1 8B (Free)","enabled": true,"id": "meta-llama/llama-3.1-8b-instruct:free",@@ -269,7 +269,7 @@ exports[`configRouter > getGlobalConfig > Model Provider env > OPENROUTER_MODEL_{"abilities": {},"contextWindowTokens": 8192,- "description": "Gemma 2 是Google轻量化的开源文本模型系列。",+ "description": "Gemma 2 is Google’s lightweight open-source text model family.","displayName": "Gemma 2 9B (Free)","enabled": true,"id": "google/gemma-2-9b-it:free",diff --git a/src/utils/server/__snapshots__/parseModels.test.ts.snap b/src/utils/server/__snapshots__/parseModels.test.ts.snapindex 3aae9df62d1..f7a5d5ccc37 100644--- a/src/utils/server/__snapshots__/parseModels.test.ts.snap+++ b/src/utils/server/__snapshots__/parseModels.test.ts.snap@@ -107,7 +107,7 @@ exports[`transformToChatModelCards > should have file with builtin models like g"functionCall": true,},"contextWindowTokens": 128000,- "description": "最新的 GPT-4 Turbo 模型具备视觉功能。现在,视觉请求可以使用 JSON 模式和函数调用。 GPT-4 Turbo 是一个增强版本,为多模态任务提供成本效益高的支持。它在准确性和效率之间找到平衡,适合需要进行实时交互的应用程序场景。",+ "description": "The latest GPT-4 Turbo adds vision. Visual requests support JSON mode and function calling. It is a cost-effective multimodal model that balances accuracy and efficiency for real-time applications.","displayName": "ChatGPT-4","enabled": true,"id": "gpt-4-0125-preview",@@ -139,7 +139,7 @@ exports[`transformToChatModelCards > should have file with builtin models like g"vision": true,},"contextWindowTokens": 128000,- "description": "最新的 GPT-4 Turbo 模型具备视觉功能。现在,视觉请求可以使用 JSON 模式和函数调用。 GPT-4 Turbo 是一个增强版本,为多模态任务提供成本效益高的支持。它在准确性和效率之间找到平衡,适合需要进行实时交互的应用程序场景。",+ "description": "The latest GPT-4 Turbo adds vision. Visual requests support JSON mode and function calling. It is a cost-effective multimodal model that balances accuracy and efficiency for real-time applications.","displayName": "ChatGPT-4 Vision","enabled": true,"id": "gpt-4-turbo-2024-04-09",