generated from amazon-archives/__template_Custom
-
Notifications
You must be signed in to change notification settings - Fork 396
Open
Description
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
mac
Expected behaviour
I want to define an agent which can be used both as an agent and a sub agent and uses the file syntax feature for its prompt
Actual behaviour
This isn't possible because the file is looked up from a different relative path based on whether it is launched as an agent or a sub agent. This means only full paths can work. Full paths make the agent definition far less portable.
Steps to reproduce
Make an agent like the one given as an example in the documentation
try to launch it as a sub agent and it will fail to load context from its prompt file
Environment
Metadata
Metadata
Assignees
Labels
No labels