Skip to content
Open
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: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ Only write entries that are worth mentioning to users.

## Unreleased

- Shell: Fix misleading "Quota exceeded" prefix shown on every 403 error

## 1.44.0 (2026-05-13)

- Shell: Add slash command alias resolution — aliases such as `/h`, `?`, and `status` now resolve to their canonical commands (`/help`, `/usage`); the completer and help output display alias matches as `/name (alias)` for clarity
Expand Down
2 changes: 2 additions & 0 deletions docs/en/release-notes/changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ This page documents the changes in each Kimi Code CLI release.

## Unreleased

- Shell: Fix misleading "Quota exceeded" prefix shown on every 403 error

Comment on lines +7 to +8
## 1.44.0 (2026-05-13)

- Shell: Add slash command alias resolution — aliases such as `/h`, `?`, and `status` now resolve to their canonical commands (`/help`, `/usage`); the completer and help output display alias matches as `/name (alias)` for clarity
Expand Down
2 changes: 2 additions & 0 deletions docs/zh/release-notes/changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@

## 未发布

- Shell:修复 403 响应一律显示 "Quota exceeded" 前缀的问题

## 1.44.0 (2026-05-13)

- Shell:新增斜杠命令别名解析——别名(如 `/h`、`?`、`status`)现在能正确解析到对应的正式命令(`/help`、`/usage`);补全器和帮助输出会将别名匹配项显示为 `/name (alias)`,方便识别
Expand Down
5 changes: 1 addition & 4 deletions src/kimi_cli/ui/shell/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -971,10 +971,7 @@ def _on_view_ready(view: Any) -> None:
f"[red]Membership expired, please renew your plan[/red]\n[dim]Server: {e}[/dim]"
)
elif isinstance(e, APIStatusError) and e.status_code == 403:
console.print(
"[red]Quota exceeded, please upgrade your plan or retry later[/red]\n"
f"[dim]Server: {e}[/dim]"
)
console.print(f"[red]Server: {e}[/red]")
Comment on lines 973 to +974
elif isinstance(e, APIConnectionError):
console.print(
f"[red]Network connection failed: {e}[/red]\n"
Expand Down
Loading