geekai/api/store/model/api_key.go
2024-03-15 18:35:10 +08:00

15 lines
371 B
Go
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

package model
// ApiKey OpenAI API 模型
type ApiKey struct {
BaseModel
Platform string
Name string
Type string // 用途 chat => 聊天img => 绘图
Value string // API Key 的值
ApiURL string // 当前 KEY 的 API 地址
Enabled bool // 是否启用
ProxyURL string // 代理地址
LastUsedAt int64 // 最后使用时间
}