bug: If parent or subdirectory starts with planning
an unexpected custom.planning.avanterules
is created
#586
Labels
bug
Something isn't working
Describe the bug
I believe this is unintended behaviour (directory names inside a project shouldn't affect the prompts?).
When working inside a directory starting with 'planning_*' Avante will create a
custom.planning.avanterules
inside$HOME/.cache/avante/...
which injects unexpected text into the planning prompt. Directories inside projects also do this - however I'm finding it trickier to replicate minimally.To reproduce
planning_test
andcd planning_test
test.py
with the following content (just an example):Avante writes a poem and doesn't tell you what the code does.
Inside
$HOME/.cache/avante/.../planning_test/
you will find:cat custom.planning.avanterules
:Expected behavior
AvanteAsk should say what the python code outputs and not write a poem. No
custom.planning.avanterules
should be created.Environment
Arch Linux
Repro
The text was updated successfully, but these errors were encountered: