mirror of
https://git.openapi.site/https://github.com/desirecore/config-center.git
synced 2026-06-06 05:50:50 +08:00
feat(schema): 扩展 provider schema 支持 Token Plan
- accessMode enum 新增 "token-plan" - 新增顶层 tokenPlan 属性(与 codingPlan 结构对齐) - usageTracking.method enum 新增 "credits"(Token Plan 使用 Credits 计量) - dashscope-token-plan.json 恢复语义正确的 tokenPlan 配置
This commit is contained in:
@@ -10,16 +10,16 @@
|
||||
"apiKeyVerified": false,
|
||||
"enabled": false,
|
||||
"status": "unconfigured",
|
||||
"accessMode": "coding-plan",
|
||||
"accessMode": "token-plan",
|
||||
"services": [
|
||||
"chat",
|
||||
"reasoning",
|
||||
"image_gen"
|
||||
],
|
||||
"codingPlan": {
|
||||
"tokenPlan": {
|
||||
"quotas": {},
|
||||
"usageTracking": {
|
||||
"method": "none",
|
||||
"method": "credits",
|
||||
"consoleUrl": "https://bailian.console.aliyun.com/"
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user