ErikBjare / gptme

Your agent in your terminal, equipped with local tools: writes code, uses the terminal, browses the web, vision.
https://gptme.org/docs/
MIT License
2.63k stars 178 forks source link

Hooks? #156

Open ErikBjare opened 1 month ago

ErikBjare commented 1 month ago

One potential way to deal with linting etc is to add a system with hooks that tools can register with.

These hooks could do things like:

...what else?

Not sure if making a "hook" concept like this is the way to go.

Maybe adopting something like https://pypi.org/project/simplemind/ (https://github.com/ErikBjare/gptme/issues/233) makes sense long-term, if simple and pliable enough.

ErikBjare commented 1 month ago

Experimented with a lot of the linting/checking stuff in https://github.com/ErikBjare/gptme/pull/199, without going the hook approach.