aws / aws/amazon-q-developer-cli
Hallucination on clearing context
- Ngôn ngữ chính
- Rust
- Star
- 2k
- Fork
- 439
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Mô tả
### Checks
- [x] I have searched [github.com/aws/amazon-q-developer-cli/issues](https://github.com/aws/amazon-q-developer-cli/issues?q=) and there are no duplicates of my issue
### Operating system
macOS 15.5.0 (24F74)
### Expected behaviour
```
> How can I clear Q context from this session so far?
To clear the context from your current Amazon Q session, you have a few options:
...
2. If you want to continue in the same session but start fresh, you can use:
• /clear command (if available in your version)
```
### Actual behaviour
```
> How can I clear Q context from this session so far?
To clear the context from your current Amazon Q session, you have a few options:
...
2. If you want to continue in the same session but start fresh, you can use:
• /reset command (if available in your version)
> /reset
Error: Unknown command: '/reset'.
> The "/reset" command does not appear to be available in this version.
You're right, the /reset command isn't available in this version of Amazon Q CLI. In that case, your best option to clear the context is to:
1. Type /quit to exit the current session
2. Then start a new session with q chat
> /help
q (Amazon Q Chat)
Commands:
/clear Clear the conversation history
...
> /clear
Are you sure? This will erase the conversation history and context from hooks for the current session. [y/n]:
> y
Conversation history cleared.
> Can you tell me what we've chatted about so far?
We haven't had any previous conversations in this session. This appears to be the start of our conversation. How can I help you today? I can assist with...
```
### Steps to reproduce
LLM behavior is not reproducible of course. But the transcript above should give a good idea of how to try.
This was happening in Q CLI 6June2025 morning Mountain time.
Hướng dẫn đóng góp
Hướng nghiên cứu
Bắt đầu bằng cách tái hiện bản ghi trong một phiên Q CLI với q chat, sau đó kiểm tra các lệnh /help hiện có và câu trả lời cho câu hỏi về việc xóa ngữ cảnh. Được xem là hoàn tất khi trợ lý luôn xác định /clear là lệnh và không đề xuất lệnh /reset không khả dụng.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- rust
- Lĩnh vực
- ai, cli
- Loại issue
- Lỗi
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức độ hoạt động
- Đình trệ
- Độ rõ ràng
- Cần làm rõ
- Mức phù hợp với người mới
- 25/100