chore: simplify model yaml (#308)

This commit is contained in:
N3ko
2025-07-31 12:15:55 +08:00
committed by GitHub
parent 397912fccf
commit 977f2c423a
24 changed files with 37 additions and 156 deletions

View File

@@ -123,7 +123,6 @@ func (p *Parameter) GetString(tp DefaultType) (string, error) {
}
type ModelMeta struct {
Name string `yaml:"name"`
Protocol chatmodel.Protocol `yaml:"protocol"` // 模型通信协议
Capability *Capability `yaml:"capability"` // 模型能力
ConnConfig *chatmodel.Config `yaml:"conn_config"` // 模型连接配置