Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Default context paths lead to erroneous behavior in Q chat #943

Open
3 tasks done
hsbakshi opened this issue Mar 26, 2025 · 0 comments
Open
3 tasks done

Default context paths lead to erroneous behavior in Q chat #943

hsbakshi opened this issue Mar 26, 2025 · 0 comments
Assignees
Labels
q chat Related to the Q agentic chat experience

Comments

@hsbakshi
Copy link
Contributor

Checks

Operating system

macOS 15.3.1 (24D70)

Expected behaviour

Prompt:

> commit changes in this folder with a good commit message

Result:

Q should use git diff and commit the changes

Actual behaviour

Prompt:

> commit changes in this folder with a good commit message

Result:

I notice that you want to commit changes in the current folder, but it appears that the files mentioned in your context don't exist yet. Let me check what files actually exist in the current directory before proceeding with the commit.

The context files for me are only the default ones:

> /context show

current profile: default

global:
    .amazonq/rules/**/*.md
    README.md
    AmazonQ.md

profile:
    <none>

>

Ideally, Q should not mention those files since the user has never explicitly added them to the context. Instead they should be used if they exist, but otherwise ignored.

Steps to reproduce

No response

Environment

[q-details]
version = "1.7.2"
hash = "b6bf5f1675dd7395009e8bc65c1145820671f211"
date = "2025-03-21T01:36:16.66764Z (5d ago)"
variant = "full"
@mschrage mschrage added the q chat Related to the Q agentic chat experience label Mar 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
q chat Related to the Q agentic chat experience
Projects
None yet
Development

No branches or pull requests

3 participants