Skip to content

Commit

Permalink
💄 style: delete siliconflow outdated model & disable stepfun function…
Browse files Browse the repository at this point in the history
…call (lobehub#4033)

* Update qwen.ts

* Update siliconcloud.ts

* Update stepfun.ts
  • Loading branch information
LovelyGuYiMeng authored Sep 19, 2024
1 parent 2134451 commit 08c53eb
Show file tree
Hide file tree
Showing 3 changed files with 35 additions and 76 deletions.
70 changes: 35 additions & 35 deletions src/config/modelProviders/qwen.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,41 +43,6 @@ const Qwen: ModelProviderCard = {
},
tokens: 32_768,
},
{
description:
'通义千问数学模型是专门用于数学解题的语言模型。',
displayName: 'Qwen Math Turbo',
id: 'qwen-math-turbo-latest',
pricing: {
currency: 'CNY',
input: 2,
output: 6,
},
tokens: 4096,
},
{
description:
'通义千问数学模型是专门用于数学解题的语言模型。',
displayName: 'Qwen Math Plus',
id: 'qwen-math-plus-latest',
pricing: {
currency: 'CNY',
input: 4,
output: 12,
},
tokens: 4096,
},
{
description: '通义千问代码模型。',
displayName: 'Qwen Coder Turbo',
id: 'qwen-coder-turbo-latest',
pricing: {
currency: 'CNY',
input: 2,
output: 6,
},
tokens: 131_072,
},
{
description:
'通义千问超大规模语言模型,支持长文本上下文,以及基于长文档、多文档等多个场景的对话功能。',
Expand Down Expand Up @@ -118,6 +83,41 @@ const Qwen: ModelProviderCard = {
tokens: 32_000,
vision: true,
},
{
description:
'通义千问数学模型是专门用于数学解题的语言模型。',
displayName: 'Qwen Math Turbo',
id: 'qwen-math-turbo-latest',
pricing: {
currency: 'CNY',
input: 2,
output: 6,
},
tokens: 4096,
},
{
description:
'通义千问数学模型是专门用于数学解题的语言模型。',
displayName: 'Qwen Math Plus',
id: 'qwen-math-plus-latest',
pricing: {
currency: 'CNY',
input: 4,
output: 12,
},
tokens: 4096,
},
{
description: '通义千问代码模型。',
displayName: 'Qwen Coder Turbo',
id: 'qwen-coder-turbo-latest',
pricing: {
currency: 'CNY',
input: 2,
output: 6,
},
tokens: 131_072,
},
{
description: '通义千问2.5对外开源的7B规模的模型。',
displayName: 'Qwen2.5 7B',
Expand Down
33 changes: 0 additions & 33 deletions src/config/modelProviders/siliconcloud.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,39 +15,6 @@ const SiliconCloud: ModelProviderCard = {
},
tokens: 32_768,
},
{
description: 'DeepSeek V2 具备67亿参数,支持英中文本处理。',
displayName: 'DeepSeek V2 Chat',
id: 'deepseek-ai/DeepSeek-V2-Chat',
pricing: {
currency: 'CNY',
input: 1.33,
output: 1.33,
},
tokens: 32_768,
},
{
description: 'DeepSeek Coder V2 为代码任务设计, 专注于高效的代码生成。',
displayName: 'DeepSeek V2 Coder',
id: 'deepseek-ai/DeepSeek-Coder-V2-Instruct',
pricing: {
currency: 'CNY',
input: 1.33,
output: 1.33,
},
tokens: 32_768,
},
{
description: 'DeepSeek 67B 是为高复杂性对话训练的先进模型。',
displayName: 'DeepSeek LLM 67B',
id: 'deepseek-ai/deepseek-llm-67b-chat',
pricing: {
currency: 'CNY',
input: 1,
output: 1,
},
tokens: 32_768,
},
{
description: 'Qwen2.5 是全新的大型语言模型系列,旨在优化指令式任务的处理。',
displayName: 'Qwen2.5 7B',
Expand Down
8 changes: 0 additions & 8 deletions src/config/modelProviders/stepfun.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,54 +8,47 @@ const Stepfun: ModelProviderCard = {
description: '支持大规模上下文交互,适合复杂对话场景。',
displayName: 'Step 2 16K',
enabled: true,
functionCall: true,
id: 'step-2-16k',
tokens: 16_000,
},
{
description: '具备超长上下文处理能力,尤其适合长文档分析。',
displayName: 'Step 1 256K',
functionCall: true,
id: 'step-1-256k',
tokens: 256_000,
},
{
description: '平衡性能与成本,适合一般场景。',
displayName: 'Step 1 128K',
enabled: true,
functionCall: true,
id: 'step-1-128k',
tokens: 128_000,
},
{
description: '支持中等长度的对话,适用于多种应用场景。',
displayName: 'Step 1 32K',
enabled: true,
functionCall: true,
id: 'step-1-32k',
tokens: 32_000,
},
{
description: '小型模型,适合轻量级任务。',
displayName: 'Step 1 8K',
enabled: true,
functionCall: true,
id: 'step-1-8k',
tokens: 8000,
},
{
description: '高速模型,适合实时对话。',
displayName: 'Step 1 Flash',
enabled: true,
functionCall: true,
id: 'step-1-flash',
tokens: 8000,
},
{
description: '支持视觉输入,增强多模态交互体验。',
displayName: 'Step 1V 32K',
enabled: true,
functionCall: true,
id: 'step-1v-32k',
tokens: 32_000,
vision: true,
Expand All @@ -64,7 +57,6 @@ const Stepfun: ModelProviderCard = {
description: '小型视觉模型,适合基本的图文任务。',
displayName: 'Step 1V 8K',
enabled: true,
functionCall: true,
id: 'step-1v-8k',
tokens: 8000,
vision: true,
Expand Down

0 comments on commit 08c53eb

Please sign in to comment.