mirror of
https://github.com/yangjian102621/geekai.git
synced 2025-11-11 03:33:48 +08:00
优化系统设置 API 参数解析,优化点卡扣费逻辑,没有回复答案不记扣费次数
This commit is contained in:
@@ -18,6 +18,8 @@ type User struct {
|
||||
MaxCalls int `json:"max_calls"` // 最多调用次数,如果为 0 则表示不限制
|
||||
RemainingCalls int `json:"remaining_calls"` // 剩余调用次数
|
||||
EnableHistory bool `json:"enable_history"` // 是否启用聊天记录
|
||||
Status bool `json:"status"` // 当前状态
|
||||
ApiKey string `json:"api_key"` // OpenAI API KEY
|
||||
}
|
||||
|
||||
// Chat configs struct
|
||||
|
||||
Reference in New Issue
Block a user