devchat-ai / devchat

Automate your dev tasks with AI-powered scripts, from your IDE's chat panel.
https://www.devchat.ai
Apache License 2.0
342 stars 39 forks source link

Enhance `prompt.txt` parsing: Path resolution fix and @file@ syntax support #277

Closed yangbobo2021 closed 6 months ago

yangbobo2021 commented 6 months ago

This pull request introduces two key enhancements to the parsing of prompt.txt files used in our workflow processes. It addresses the issues outlined in https://github.com/devchat-ai/devchat/issues/276 by improving path resolution and adding support for the @file@ syntax within the content of prompt.txt.

Improvements:

Notes:

Closes https://github.com/devchat-ai/devchat/issues/276.