block / goose

Goose is a developer agent that operates from your command line to help you do the boring stuff.
https://block.github.io/goose/
Apache License 2.0
220 stars 37 forks source link

Adds GooseHints system to load .goosehints files #285

Closed jsibbison-square closed 2 days ago

jsibbison-square commented 2 days ago

Loads .goosehints from current working directory and ~/.config/goose/.goosehints

lifeizhou-ap commented 2 days ago

Looks good!

One thing could be considered is: In this PR, the hint was rendered when system is added. If the user changed the hint while in the session, the new hint won't be reflected.

If we render the hint in the instruction function, the hint will be reloaded every time the exchange reply is triggered. So the new hint will take effect

jsibbison-square commented 2 days ago

Looks good!

One thing could be considered is: In this PR, the hint was rendered when system is added. If the user changed the hint while in the session, the new hint won't be reflected.

If we render the hint in the instruction function, the hint will be reloaded every time the exchange reply is triggered. So the new hint will take effect

That's interesting, will have to think about it.