Commit Graph

813 Commits

Author SHA1 Message Date
Sarah Wooders
9b2d794de6 reformat 2024-01-10 20:21:53 -08:00
Sarah Wooders
e4a18c374e passing tests 2024-01-10 20:20:16 -08:00
Sarah Wooders
2f84caa817 fix archival reference 2024-01-10 19:47:39 -08:00
Tom Bedor
0c0f269453 feat: add_function and remove_function commands
Allows for dynamic editing of user defined functions.

Disallows removing functions that are defined by MemGPT itself.
2024-01-11 00:38:40 +00:00
Sarah Wooders
35aa6b46b4 cleanup source loading code 2024-01-09 19:19:18 -08:00
Sarah Wooders
d118774bb7 fix: tests should only use "openai" quickstart if `OPENAI_API_KEY is set (#801) 2024-01-09 19:13:16 -08:00
Sarah Wooders
d331c71ec3 remove AgentConfig imports 2024-01-09 11:38:46 -08:00
Sarah Wooders
841d47c462 Remove usage of agent_config from agent.py 2024-01-09 11:22:39 -08:00
ifsheldon
240fee4973 fix: Fix broken doc due to refactor (#798) 2024-01-09 11:03:25 -08:00
Charles Packer
d01eedd37d fix: Various fixes to support source/agent deletion (#797) 2024-01-08 17:02:04 -08:00
Sarah Wooders
471005efed Fix CLI formatting 2024-01-08 16:58:59 -08:00
Sarah Wooders
04b40c677f Clear out archival and recall memory stores on agent deletion 2024-01-08 16:55:00 -08:00
Sarah Wooders
5485c744c9 Add support for deleting sources 2024-01-08 16:49:04 -08:00
Sarah Wooders
7b25aa94b0 Add warning if user_id is not found for 'memgpt load' 2024-01-08 16:45:06 -08:00
Sarah Wooders
54fa07da7a refactor!: Migrate users + agent information into storage connectors (#785)
Co-authored-by: cpacker <packercharles@gmail.com>
2024-01-08 15:59:49 -08:00
Max Blackmer
72d184a5e3 Merge branch 'feature/global-logging' of github.com:agiletechnologist/MemGPT into feature/global-logging
Removed Logging from configurations and migrated to constants.py
Modified log.py to configure using constants to configure logging

 Conflicts:
      memgpt/config.py resolved
2024-01-05 18:11:17 -05:00
tezer
5cf48ac88a fix(server): handle null key string in utils (check_null_key)
Ensure that the `shorten_key` function in `utils.py` returns the key string itself when it is null or empty, preventing further processing that could lead to errors.
2024-01-06 00:36:13 +02:00
Charles Packer
97e8961528 fix: Update message schema / data type to match OAI tools style (#783)
Co-authored-by: Sarah Wooders <sarahwooders@gmail.com>
2024-01-04 15:05:43 -08:00
Charles Packer
1621774536 refactor!: Refactoring storage connectors to support multi-user DB storage for recall memory + metadata (#708) 2024-01-04 13:14:13 -08:00
cpacker
3c930de917 Merge branch 'main' into cherry-pick-storage-refactor 2024-01-04 13:11:01 -08:00
Sarah Wooders
89fdcfdadc Run black 2024-01-04 13:04:21 -08:00
Sarah Wooders
a916852ad6 Remove stray prints 2024-01-04 13:02:09 -08:00
cpacker
07f422da74 added comments about tool fields 2024-01-04 11:53:06 -08:00
Sarah Wooders
ee5ece6866 Only create single table with create_all, not all 2024-01-04 11:38:31 -08:00
cpacker
e175c204b2 try another patch to recreate declarative base 2024-01-04 11:33:44 -08:00
cpacker
b525597c6a fix black 2024-01-04 11:28:31 -08:00
cpacker
e5be806247 Merge branch 'cherry-pick-storage-refactor' of github.com:cpacker/MemGPT into cherry-pick-storage-refactor 2024-01-04 11:26:41 -08:00
cpacker
5b4875834f Add extra code for wiping sqlalchemy globals 2024-01-04 11:26:35 -08:00
Sarah Wooders
2bc53ad66b Add assert for postgres storage connector column type 2024-01-04 11:20:03 -08:00
Sarah Wooders
f11f098067 Remove deprecation warnings for sqlalchemy 2024-01-04 11:03:06 -08:00
Sarah Wooders
b117cce693 Upgrade pytest version 2024-01-04 10:42:11 -08:00
Sarah Wooders
722b50f818 All tests passing locally 2024-01-04 10:34:38 -08:00
Charles Packer
9f0c796305 patch SAWarning (#782) 2024-01-04 09:54:52 -08:00
Sarah Wooders
a9853e9077 Remove incorrect dialect db model loading from sqlite 2024-01-04 09:50:51 -08:00
Sarah Wooders
6511dcaa7d Temporarily add prints 2024-01-04 09:43:19 -08:00
Sarah Wooders
5b850c937f Cleanup code for converting dialect into vector storage type 2024-01-04 09:29:24 -08:00
Sarah Wooders
ed101934da Avoid usage of Vector type for when not using postgres 2024-01-04 09:23:04 -08:00
Sarah Wooders
8b5fe4f383 Avoid usage of Vector type for when not using postgres 2024-01-04 09:11:23 -08:00
ifsheldon
14351bac33 Fix 'dict' object has no attribute 'name' (#781) 2024-01-04 00:06:48 -08:00
ifsheldon
8ae632fd6f fix invalid entry in response dict (#780) 2024-01-04 00:01:41 -08:00
Sarah Wooders
45e6d5793d Modify tests to use openai quickstart 2024-01-03 19:01:27 -08:00
Sarah Wooders
5de2557738 Fix bug with supporting paginated search for recall memory 2024-01-03 18:32:13 -08:00
Sarah Wooders
17506b7e90 Change Message data type to use tool format and create tool_call_id field 2024-01-03 18:03:11 -08:00
Charles Packer
21c69debca correct context window for dolph mixtral (#778) 2024-01-03 15:06:47 -08:00
Charles Packer
4f29b2d1af bump version 0.2.11 (#777) 2024-01-03 15:05:01 -08:00
Charles Packer
0609f229f6 fix: Update memgpt_coder_autogen.ipynb (#775)
* Update memgpt_coder_autogen.ipynb

* Update memgpt_coder_autogen.ipynb

* Update memgpt_coder_autogen.ipynb
2024-01-03 00:13:27 -08:00
cpacker
d0ef339a4a use --all-extras in poetry install for tests 2024-01-02 22:18:17 -08:00
cpacker
439efe4bc6 add pexpect to dev dependencies 2024-01-02 22:08:15 -08:00
cpacker
1f6af59e9d added a new test that makes sure the base functions are working 2024-01-02 18:20:54 -08:00
Sarah Wooders
571323c44a Update test workflow to timeout in 15 instead of 10 minutes 2024-01-02 18:06:06 -08:00