ErikBjare / gptme

Your agent in your terminal, equipped with local tools: writes code, uses the terminal, browses the web, vision.
http://erik.bjareholt.com/gptme/docs/
MIT License
333 stars 31 forks source link

XML-style prompting #107

Open ErikBjare opened 1 week ago

ErikBjare commented 1 week ago

Markdown has some pretty rough limitations that become especially apparent once you need to nest it.

A large class of bugs and workarounds could be eliminated if we switched to XML-style prompting, but on the other hand I've invested so much work into getting the markdown stuff to work that I'm pretty happy with where it is at.

Relevant issues:

ErikBjare commented 1 week ago

Some preparatory work done in https://github.com/ErikBjare/gptme/pull/113

ErikBjare commented 1 day ago

It can be enabled in the code, and works great for Anthropic, but disabled by default still, until we make it toggleable/configurable.