- 新增 `model-usage-stats` 插件,提供模型级别的 token 用量统计和 API 接口 - 增强 API Potluck 插件,记录并展示 prompt、completion 和 total tokens 用量 - 更新插件管理器以支持禁用插件的路由拦截和静态文件访问控制 - 在前端页面中展示 token 用量统计数据 - 升级版本号至 2.13.3
16 lines
366 B
Text
16 lines
366 B
Text
{
|
|
"plugins": {
|
|
"api-potluck": {
|
|
"enabled": false,
|
|
"description": "API 大锅饭 - Key 管理和用量统计插件"
|
|
},
|
|
"default-auth": {
|
|
"enabled": true,
|
|
"description": "默认 API Key 认证插件(内置)"
|
|
},
|
|
"model-usage-stats": {
|
|
"enabled": false,
|
|
"description": "模型用量统计插件"
|
|
}
|
|
}
|
|
}
|