Answer content emitted as reasoning/thinking tokens, hiding substantive output in collapsible reasoning UI
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 38/100
Hướng nghiên cứu
Start by tracing how the CLI handles agent_message_chunk and agent_thought_chunk events, focusing on the reasoning-to-answer boundary within one turn. Use q doctor and q restart, then try a long answer that reproduces the classification problem. Done means reasoning and final answer content are emitted separately so answer text is not hidden by reasoning-aware clients.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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
Linux 5.10.268-277.1095.amzn2int.x86_64 - Amazon Linux 2
Expected behaviour
Answer content intended for the user should be streamed as answer content (agent_message_chunk with a normal content type), not as agent_thought_chunk or content.type: "thinking"|"reasoning". Reasoning tokens and final answer tokens should be cleanly separated on the wire.
Actual behaviour
The major part of the final answer was streamed under a reasoning classification, so a reasoning-aware client hid it in a collapsible reasoning region.
So I wasn't able to see the answer.
Steps to reproduce
Not deterministically reproduced. Observed on a long answer where a trailing explanatory section was misclassified as reasoning while earlier answer content in the same turn rendered normally. Likely tied to how the reasoning→answer boundary is drawn within a single turn.
Environment
<This will be visible to anyone. Do not include personal or sensitive information>
[q-details]
version = "2.24.1"
hash = "0e0f0e19e4c2ea4c94e552f834baf85de11476fa"
date = "2026-09-25T02:19:54.86796Z (2d ago)"
variant = "minimal"
[system-info]
chip = "Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz"
total-cores = 8
memory = "62.02 GB"
[system-info.os.linux]
kernel_version = "5.10.268-277.1095.amzn2int.x86_64"
id = "amzn"
name = "Amazon Linux"
pretty_name = "Amazon Linux 2"
version_id = "2"
version = "2"
variant = "internal"
[environment]
cwd = "/local/home/USER"
cli-path = "/local/home/USER"
os = "Linux"
shell-path = "/local/home/USER/.toolbox/tools/toolbox/1.1.9714.0/toolbox-exec"
shell-version = "5.8"
install-method = "toolbox"
in-ssh = true
[env-vars]
PATH = "/local/home/USER/.aim/mcp-servers:/home/USER/.local/share/mise/installs/node/24.7.0/bin:/home/USER/.local/share/mise/installs/python/3.12.11/bin:/home/USER/.local/share/mise/installs/python/3.11.13/bin:/home/USER/.local/share/mise/installs/python/3.10.18/bin:/home/USER/.local/share/mise/installs/python/3.9.23/bin:/home/USER/.local/share/mise/installs/python/3.8.20/bin:/usr/lib/jvm/java-17-amazon-corretto.x86_64/bin:/usr/lib/jvm/java-17-amazon-corretto.x86_64/bin:/home/USER/.toolbox/bin:/local/home/USER/.aim/mcp-servers:/home/USER/.cargo/bin:/usr/local/bin:/usr/bin:/home/USER/bin:/usr/local/sbin:/usr/sbin:/home/USER/.local/bin"
Q_SET_PARENT_CHECK = "1"
SHELL = "/bin/zsh"
TERM = "xterm-256color"
- Ngôn ngữ chính
- Rust
- Star
- 2k
- Fork
- 441
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Không có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của aws/amazon-q-developer-cli
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
aws/amazon-q-developer-cli#3898 ·
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 90/100
aws/amazon-q-developer-cli#3851 ·
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 72/100
aws/amazon-q-developer-cli#3316 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
aws/amazon-q-developer-cli#3023 · 2 bình luận ·
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 48/100
aws/amazon-q-developer-cli#3920 ·
Tất cả issue của aws/amazon-q-developer-cli
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
trezor/trezor-firmware#7997 ·
Maintainer thường phản hồi trong vòng 2 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
smol-machines/smolvm#1489 · 1 bình luận · 1 reaction ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 88/100
Maintainer thường phản hồi trong vòng 1 ngày