mirror of
https://git.openapi.site/https://github.com/desirecore/config-center.git
synced 2026-04-21 16:21:32 +08:00
feat: add per-provider tombstones whitelist for explicit model deletion
引入 tombstones 字段用于区分"主动删除"和"数据缺失"两种语义。 当合并策略(新版本客户端)遇到 preset 缺失的本地 preset-source 模型时: - 若 modelName 在 tombstones 白名单 → 真删除 - 若不在白名单 → 保留并标 extra.deprecated: true(软降级) 本次添加 tombstones 的场景: - internal-testing: MiniMax-M2.7 / MiniMax-M2.5(改为只保留 highspeed 版本) - zhipu: embedding-3(已拆到独立的 zhipu-embedding provider) user-added / synced / ollama-discovery 来源始终不受 tombstones 影响。 bump presetDataVersion 22 -> 23
This commit is contained in:
@@ -12,6 +12,10 @@
|
||||
"services": [
|
||||
"chat"
|
||||
],
|
||||
"tombstones": [
|
||||
"MiniMax-M2.7",
|
||||
"MiniMax-M2.5"
|
||||
],
|
||||
"models": [
|
||||
{
|
||||
"modelName": "MiniMax-M2.7-highspeed",
|
||||
|
||||
Reference in New Issue
Block a user