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
Is there a way for a subproject's AGENTS.md to include hints global to the project by referencing a file in a parent directory still within the checkout root?
I've tried it, and it looks like the view tool is prohibited from looking into parent directories, even if they're still within the same checkout.
╭─ view("AGENTS.md") succeeded
╰─ Read additional project hints from ../../../AGENTS.md
...
╭─ view("../AGENTS.md") failed
╰─ Error: No permission to access path: /home/me/projects/main-project-directory/AGENTS.md
After some thinking, if this were to become a feature request, it might be more generally useful to configure a list of directories where Avante would be allowed to look. Standard and local libraries for the language in use, for example, contain useful context outside of the current checkout.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Is there a way for a subproject's AGENTS.md to include hints global to the project by referencing a file in a parent directory still within the checkout root?
I've tried it, and it looks like the
viewtool is prohibited from looking into parent directories, even if they're still within the same checkout.╭─ view("AGENTS.md") succeeded ╰─ Read additional project hints from ../../../AGENTS.md ... ╭─ view("../AGENTS.md") failed ╰─ Error: No permission to access path: /home/me/projects/main-project-directory/AGENTS.mdAfter some thinking, if this were to become a feature request, it might be more generally useful to configure a list of directories where Avante would be allowed to look. Standard and local libraries for the language in use, for example, contain useful context outside of the current checkout.
Beta Was this translation helpful? Give feedback.
All reactions