修改模型选择功能,提升用户体验

This commit is contained in:
清柯
2025-04-25 03:07:51 +08:00
parent 51c270fb29
commit c7b09f29ca
5 changed files with 12 additions and 0 deletions

View File

@@ -70,6 +70,8 @@ type ChatModel struct {
Power int `json:"power"`
MaxTokens int `json:"max_tokens"` // 最大响应长度
MaxContext int `json:"max_context"` // 最大上下文长度
Description string `json:"description"` //模型描述
Category string `json:"category"` //模型类别
Temperature float32 `json:"temperature"` // 模型温度
KeyId int `json:"key_id"` // 绑定 API KEY
}