模型黑名单与密钥模型白名单界面、分组填入、删除弹窗排版
This commit is contained in:
@@ -946,6 +946,8 @@ export interface AiKey {
|
||||
name: string
|
||||
tail: string
|
||||
group: string
|
||||
/** 模型白名单;null/空 = 不限,非空时网关仅放行列表内模型 */
|
||||
models: string[] | null
|
||||
enabled: boolean
|
||||
lastUsedAt: string | null
|
||||
/** 内容日志开启截止时间;null = 永关(默认,红线),开启必须限时到期自动停写 */
|
||||
@@ -991,6 +993,13 @@ export interface AiModelCacheItem {
|
||||
syncedAt: string
|
||||
}
|
||||
|
||||
/** 模型黑名单条目:拉黑即全渠道剔除,同步 / 探测不再入库 */
|
||||
export interface AiModelBlacklistItem {
|
||||
id: number
|
||||
name: string
|
||||
createdAt: string
|
||||
}
|
||||
|
||||
/** 调用日志:仅元数据与 token 用量 */
|
||||
export interface AiCallLog {
|
||||
id: number
|
||||
|
||||
Reference in New Issue
Block a user