Skip to content

Web UI: /usage slash command missing from web command menu (0.30.0) #2354

Description

@Song2012

What version of Kimi Code is running?

0.30.0

Which open platform/subscription were you using?

Kimi Code 订阅(699套餐)

Which model were you using?

kimi-code/k3-256k

What platform is your computer?

Microsoft Windows NT 10.0.26200.0 x64

What issue are you seeing?

web 界面(kimi web)的斜杠命令菜单中缺少 /usage 命令。在输入框输入 / 时,
弹出的命令列表只有:auth、auto、btw、clear、compact、config、export、files、
fork、goal、login、models、new、plan、providers、sessions、status、swarm、
thinking、undo、workspaces、yolo —— 其中没有 usage。
直接输入 /usage 并发送,会被当作普通消息发给模型,而不是执行该命令。

终端 TUI 中 /usage 是正常注册的(描述为 "Show session tokens + context
window + plan quotas",availability: always),官方文档的斜杠命令参考页
也标注 /usage 在 web 端可用。已使用升级到 0.30.0 之后新启动的 server
进程、并强制刷新浏览器标签页后验证,问题依旧。

What steps can reproduce the bug?

  1. 在 0.30.0 上运行 kimi web,打开 web 界面
  2. 打开或新建任意会话
  3. 在输入框输入 / —— 弹出的命令菜单中没有 usage
  4. 输入 /usage 并发送 —— 被当作普通消息发送给模型

What is the expected behavior?

/usage 应按照官方文档(斜杠命令参考页标注 web 端可用)在 web 界面中
正常显示并执行;如果官方是有意在 web 端移除该命令,请更新文档说明。

【Additional information】
临时替代方案:web 端可以使用 /status(会显示加油包 Extra Usage 余额);
完整的 token 用量和计划配额信息可在终端 TUI 中使用 /usage 查看。

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions