Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion packages/extension-usage/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "koishi-plugin-chatluna-usage",
"description": "Usage records for ChatLuna model calls",
"version": "1.0.2",
"version": "1.0.3",
"main": "lib/index.cjs",
"module": "lib/index.mjs",
"typings": "lib/index.d.ts",
Expand Down
4 changes: 2 additions & 2 deletions packages/extension-usage/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -76,11 +76,11 @@ class ChatLunaUsageService extends DataService<ChatLunaUsage.Payload> {
})

ctx.command(
'tokens [...args:string]',
'chatluna.tokens [...args:string]',
'查看 ChatLuna 整体 token 消耗趋势',
{ authority: 1 }
)
.alias('/tokens')
.alias('chatluna.usage', 'tokens')
.option('day', '-d 按天统计')
.option('week', '-w 按一周统计')
.option('month', '-m 按一月统计')
Expand Down
Loading