You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have run q doctor in the affected terminal session
I have run q restart and replicated the issue again
Operating system
macOS 15.4.1 (24E263)
Expected behaviour
In no-interactive mode, only the response from Amazon Q should be output, without any additional UI guide text.
Actual behaviour
From v1.8.0, two lines of guide text are being output to stdout in no-interactive mode:
/help all commands • ctrl + j new lines • ctrl + k fuzzy search
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
This is problematic for automated tools that parse Q's output.
[chat-transcript]
> /issue
I'd be happy to help you report an issue or make a feature request. To do this properly, I can use the `report_issue` tool to open a GitHub issue template with your feedback.
Could you please provide:
1. A title for your issue or feature request
2. A description of what you expected to happen (for issues) or what feature you'd like to see
3. What actually happened (for issues) or why this feature would be valuable
4. Any steps to reproduce the issue (if applicable)
Once you provide these details, I can help you submit the report.
[Tool uses: none]
> /editor
I understand your issue. Let me help you report this properly to GitHub.
[Tool uses: report_issue]
Steps to reproduce
Run a command like:
echo "This is sample document."|(PROMPT='Say only the answer against the question simpliy,with no comment, no quart. Answer following document in Japanese.';echo "$PROMPT";echo "---";cat -)|q chat --no-interactive
The output includes the guide text before the actual response:
/help all commands • ctrl + j new lines • ctrl + k fuzzy search
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
以下はサンプル文書です。
Environment
<This will be visible to anyone. Do not include personal or sensitive information>[q-details]version = "1.8.1"hash = "93ca9c267abb459d4304e2c56fef3b97caab1072"date = "2025-04-25T22:52:54.786001Z (1d ago)"variant = "full"[system-info]os = "macOS 15.4.1 (24E263)"chip = "Apple M3 Pro"total-cores = 11memory = "18.00 GB"[environment]cwd = "/Users/USER/repo/bedrock-tooluse-reporter-org"cli-path = "/Users/USER/repo/bedrock-tooluse-reporter-org"os = "Mac"shell-path = "/bin/zsh"shell-version = "5.9"terminal = "VSCode"install-method = "unknown"[env-vars]PATH = "/Users/USER/.toolbox/bin:/opt/homebrew/opt/postgresql@15/bin:/opt/homebrew/bin:/opt/homebrew/sbin:/usr/bin:/usr/sbin:/bin:/sbin:/usr/local/bin:/Library/Apple/usr/bin:/Users/USER/.local/bin"QTERM_SESSION_ID = "1acfcce329434e87aa86b1c5fd38bb9e"Q_SET_PARENT_CHECK = "1"Q_TERM = "1.8.1"Q_USING_ZSH_AUTOSUGGESTIONS = "1"SHELL = "/bin/zsh"TERM = "xterm-256color"__CFBundleIdentifier = "com.microsoft.VSCode"[chat-settings]interactive=true[chat-trusted_tools][chat-failed_request_ids]none[chat-context]current_profile=defaultprofiles=defaultglobal_context=.amazonq/rules/**/*.mdREADME.mdAmazonQ.mdprofile_context=nonefiles=none
The text was updated successfully, but these errors were encountered:
ymhiroki
added a commit
to ymhiroki/amazon-q-developer-cli
that referenced
this issue
Apr 30, 2025
Uh oh!
There was an error while loading. Please reload this page.
Checks
q doctor
in the affected terminal sessionq restart
and replicated the issue againOperating system
macOS 15.4.1 (24E263)
Expected behaviour
In no-interactive mode, only the response from Amazon Q should be output, without any additional UI guide text.
Actual behaviour
From v1.8.0, two lines of guide text are being output to stdout in no-interactive mode:
This is problematic for automated tools that parse Q's output.
Steps to reproduce
Run a command like:
The output includes the guide text before the actual response:
Environment
The text was updated successfully, but these errors were encountered: