Commit Graph

3 Commits

Author SHA1 Message Date
Charles Packer
7e5609b6d6
Add error handling during linking imports (#495)
* Add error handling during linking imports

* correct typo + make error message even more explicit

* deadcode
2023-11-21 15:16:16 -08:00
Charles Packer
2e63adeba5
bugfix for linking functions from ~/.memgpt/functions (#463) 2023-11-15 15:56:42 -08:00
Charles Packer
b789549d02
Configurable presets to support easy extension of MemGPT's function set (#420)
* partial

* working schema builder, tested that it matches the hand-written schemas

* correct another schema diff

* refactor

* basic working test

* refactored preset creation to use yaml files

* added docstring-parser

* add code for dynamic function linking in agent loading

* pretty schema diff printer

* support pulling from ~/.memgpt/functions/*.py

* clean

* allow looking for system prompts in ~/.memgpt/system_prompts

* create ~/.memgpt/system_prompts if it doesn't exist

* pull presets from ~/.memgpt/presets in addition to examples folder

* add support for loading agent configs that have additional keys

---------

Co-authored-by: Sarah Wooders <sarahwooders@gmail.com>
2023-11-13 10:43:28 -08:00