Skip to content

[Bug] API Key is required when linking independent deployed large language models. #2404

@xulai1001

Description

@xulai1001

Contact Information

wx: viktorromansky

MaxKB Version

社区版 1.10.0-lts build 50f2c96

Problem Description

模型设置里添加本地部署的OpenAI协议模型接口时,不能把API Key置空(服务配置时没有指定API key)
建议增加允许留空的配置

It is not allowed to leave the "API Key" empty for LLMs in the "Model Settings". In some local LLM setups, the API key can be empty (unspecified). MaxKB cannot connect to such LLMs.

Steps to Reproduce

系统设置 - 模型设置 - 添加模型 - DeepSeek / OpenAI / vLLM等设置项中,API Key一项均不允许为空。

The expected correct result

允许API Key留空

Related log output

Additional Information

No response

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions