[Bug] Claude model intermittently becomes unavailable within the same session
还没有人认领这个 Issue。
评估
调研方向
Start by reproducing the failure in Kiro CLI and Kiro IDE using the listed Claude models, then run q doctor and q restart as reported. Compare the successful and failed requests using the provided request IDs and determine where model availability or routing is handled; done means identifying and resolving the intermittent same-session failure.
由索引模型根据 Issue 内容生成。
描述
Checks
- I have searched github.com/aws/amazon-q-developer-cli/issues and there are no duplicates of my issue
- I have run
q doctorin the affected terminal session - I have run
q restartand replicated the issue again
Operating system
macOS 26.5.2 (25F84)
Expected behaviour
Claude Opus works successfully in the same Kiro IDE/CLI session,
but a few seconds later the next request fails with:
"The model 'claude-opus-x' is not available."
No model switch, logout, region change, or client restart occurred.
This happens intermittently in both Kiro IDE and Kiro CLI.
This does not look like a permanent entitlement or region issue,
because the same model succeeds immediately before failing.
Actual behaviour
The selected Claude model intermittently becomes unavailable during the same active session.
For example, Claude Opus works normally for one request and returns a valid response. Then, only a few seconds later, without changing the model, account, region, configuration, or restarting the client, the next request fails with:
The model 'claude-opus-4.8' is not available.
I have also observed the same behavior with claude-opus-5 in Kiro CLI.
The issue is intermittent: the model may become available again later without any configuration changes.
This happens in both Kiro IDE and Kiro CLI, so it appears to be related to model availability/routing rather than a local client configuration issue.
Screenshots are attached showing a successful Claude request followed immediately by a "model not available" error in the same session.
Example request IDs:
- 6273cb42-7dec-4a24-95f1-394c55bdbbea
- cf554955-134b-4c29-86ce-cd26a6bc68b7
- 36c6f7fa-c53b-48ad-8437-df54409a55d6
Steps to reproduce
-
Open Kiro IDE or Kiro CLI.
-
Select a Claude model, for example
claude-opus-4.8orclaude-opus-5. -
Send a prompt and confirm that the model responds successfully.
-
Continue using the same session and the same model.
-
Send another prompt a few seconds or minutes later.
-
Intermittently, the request fails with:
The model 'claude-opus-x' is not available.
-
Retry later without changing any configuration, and the same model may work again.
The issue is not consistently reproducible on every request, but occurs frequently enough to interrupt normal usage.
Environment
<This will be visible to anyone. Do not include personal or sensitive information>
[q-details]
version = "2.24.0"
hash = "240642df93e76b55141520bb767a757f4434d006"
date = "2026-09-23T20:12:52.807706Z (2d ago)"
variant = "full"
[system-info]
os = "macOS 26.5.2 (25F84)"
chip = "Apple M5"
total-cores = 10
memory = "16.00 GB"
[environment]
cwd = "/Users/USER/laya-patpat-lab"
cli-path = "/Users/USER/laya-patpat-lab"
os = "Mac"
shell-path = "/bin/zsh"
shell-version = "5.9"
terminal = "Wezterm"
install-method = "unknown"
[env-vars]
PATH = "/Users/USER/.local/bin:/opt/homebrew/opt/mysql-client/bin:/opt/miniconda3/bin:/opt/miniconda3/condabin:/opt/homebrew/bin:/opt/homebrew/sbin:/Users/USER/.local/bin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin:/pkg/env/global/bin:/Library/Apple/usr/bin"
SHELL = "/bin/zsh"
TERM = "xterm-256color"
__CFBundleIdentifier = "com.github.wez.wezterm"
- 主要语言
- Rust
- 星标
- 2k
- 派生
- 439
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
aws/amazon-q-developer-cli 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 72/100
aws/amazon-q-developer-cli#3898 ·
-
难度 1/5 1 小时以内 新手友好度 90/100
aws/amazon-q-developer-cli#3851 ·
-
难度 1/5 1 小时以内 新手友好度 72/100
aws/amazon-q-developer-cli#3316 ·
-
难度 2/5 1-3 小时 新手友好度 68/100
aws/amazon-q-developer-cli#3023 · 2 条评论 ·
-
难度 4/5 3-5 天 新手友好度 55/100
aws/amazon-q-developer-cli#3917 · 1 条评论 ·
查看 aws/amazon-q-developer-cli 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 74/100
trailofbits/dylint#2107 ·
维护者通常 1 天内回复
-
area:cli bug good first issue priority:medium
难度 2/5 1-3 小时 新手友好度 90/100
维护者通常 1 天内回复
-
arrays_zip with two same-named inputs fails with "ArrowArray struct has 2 children (expected 1)"未关闭bug requires-triage
难度 2/5 1-3 小时 新手友好度 78/100
apache/datafusion-comet#6251 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 72/100
维护者通常 1 天内回复
-
bug false-positive harper-core linting
难度 2/5 1-3 小时 新手友好度 68/100
Automattic/harper#4471 ·
维护者通常 1 天内回复