发布 0.2.0:模型池自愈、探测修正、任务异步触发与删除加固
This commit is contained in:
@@ -309,6 +309,13 @@ type AiModelCache struct {
|
||||
// 弃用后仍可调用,直到 RetiredAt(按需推理退役,同步层已剔除过期项)。
|
||||
DeprecatedAt *time.Time `json:"deprecatedAt"`
|
||||
RetiredAt *time.Time `json:"retiredAt"`
|
||||
// Unusable 标记该模型在此渠道不可按需调用(微调基座/区域未开放按需),
|
||||
// 由探测、真实调用或同步后的后台验证习得:不参与网关列表/路由/探测候选;
|
||||
// 任何同步都按 OCID 结转标记,已标记模型定期复检、恢复供给自动解除。
|
||||
Unusable bool `json:"unusable"`
|
||||
UnusableReason string `gorm:"size:200" json:"unusableReason,omitempty"`
|
||||
// CheckedAt 是最近一次可用性验证时间;NULL 表示从未验证(同步后的后台验证以此为队列)。
|
||||
CheckedAt *time.Time `json:"checkedAt"`
|
||||
}
|
||||
|
||||
// AiCallLog 是网关调用日志:仅元数据与 token 用量,绝不记录 prompt / 响应正文。
|
||||
|
||||
Reference in New Issue
Block a user