Skip to content

Commit

Permalink
Update zhipu.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
LovelyGuYiMeng authored Aug 30, 2024
1 parent 2000150 commit 34d7e2e
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions src/config/modelProviders/zhipu.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,6 @@ import { ModelProviderCard } from '@/types/llm';
// ref https://open.bigmodel.cn/modelcenter/square
const ZhiPu: ModelProviderCard = {
chatModels: [
{
description: '超长输入:专为处理超长文本和记忆型任务设计',
displayName: 'GLM-4-Long',
enabled: true,
functionCall: true,
id: 'glm-4-long',
tokens: 1_024_000,
},
{
description:
'GLM-4-AllTools 是专门为支持智能体和相关任务而进一步优化的模型版本。它能够自主理解用户的意图,规划复杂的指令,并能够调用一个或多个工具(例如网络浏览器、代码解释器和文本生图像)以完成复杂的任务。',
Expand Down Expand Up @@ -60,6 +52,14 @@ const ZhiPu: ModelProviderCard = {
id: 'glm-4-airx',
tokens: 8192,
},
{
description: '超长输入:专为处理超长文本和记忆型任务设计',
displayName: 'GLM-4-Long',
enabled: true,
functionCall: true,
id: 'glm-4-long',
tokens: 1_024_000,
},
{
description: '适用简单任务,速度最快,价格最实惠的版本',
displayName: 'GLM-4-Flash',
Expand Down

0 comments on commit 34d7e2e

Please sign in to comment.