Skip to content

[Bug] Add Zhipu AI model glm-4-flash error report #1959

@WayneLee5991

Description

@WayneLee5991

Contact Information

No response

MaxKB Version

v1.8.1

Problem Description

添加智普AI模型,模型类型选择glm-4-flash,下拉里没有,直接输入选择的,报错了

Steps to Reproduce

系统管理
模型设置
共有模型
智普AI
添加模型
模型类型选择大语言模型
基础模型选择 https://bigmodel.cn/console/modelcenter/square 这个页面的glm-4-flash,下拉里没有,直接输入选择的
输入我的api key
接口报错,message信息为:校验失败,请检查参数是否正确: Client error '401 Unauthorized' for url 'https://open.bigmodel.cn/api/paas/v4/chat/completions'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/401

如果模型类型选择图片理解
基础模型选择glm-4v-flash
就可以正常新增

The expected correct result

No response

Related log output

No response

Additional Information

No response

Metadata

Metadata

Assignees

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions