Commit Graph

20 Commits

Author SHA1 Message Date
Sarah Wooders
fb29290dd4 Dependency management (#337)
* Divides dependencies into `pip install pymemgpt[legacy,local,postgres,dev]`. 
* Update docs
2023-11-06 19:45:44 -08:00
Sarah Wooders
e07a7ac1ef Fix config tests (#343)
Co-authored-by: Vivian Fang <hi@vivi.sh>
2023-11-06 18:43:23 -08:00
Charles Packer
94893b4bd5 try to patch hanging test (#295)
* try to patch hanging test

* add a timeout on the test
2023-11-03 19:11:29 -07:00
Sarah Wooders
b9ce763fda VectorDB support (pgvector) for archival memory (#226) 2023-11-03 16:19:15 -07:00
Charles Packer
77fd987f2a Add basic tests that are run on PR/main (#228)
* make tests dummy to make sure github workflow is fine

* black test

* strip circular import

* further dummy-fy the test

* use pexpect

* need y

* Update tests.yml

* Update tests.yml

* added prints

* sleep before decode print

* updated test to match legacy flow

* revising test where it fails

* comment out enter your message check for now, pexpect seems to be stuck on only setting the bootup message

* weird now it's not showing Bootup sequence complete?

* added debug

* handle none

* allow more time

* loosen string check

* add enter after commands

* modify saved compontent snippet

* add try again check

* more sendlines

* more excepts

* test passing locally

* Update tests.yml

* dont clearline

* add EOF catch that seems to only happen on github actiosn (ubuntu) but not macos

* more eof

* try flushing

* add strip_ui flag

* fix archival_memory_search and memory print output

* Don't use questionary for input if strip_ui

* Run black

* Always strip UI if TEST is set

* Add another flush

* expect Enter your message

* more debug prints

* one more shot at printing debug info

* stray fore color in stripped ui

* tests pass locally

* cleanup

---------

Co-authored-by: Vivian Fang <hi@vivi.sh>
2023-11-01 17:01:45 -07:00
Vivian Fang
d7d6fbc42a Run tests on PRs to main 2023-11-01 13:57:21 -07:00
Vivian Fang
a42d4341a2 Run tests on basic-tests branch 2023-11-01 13:52:55 -07:00
Charles Packer
8e6b0d6f6f Update tests.yml
temporarily disable broken test
2023-11-01 00:14:16 -07:00
Charles Packer
351dc4ef22 Update tests.yml 2023-10-31 15:31:56 -07:00
Charles Packer
6f8db9b7f3 Create tests.yml 2023-10-31 15:14:37 -07:00
Charles Packer
4fc88f95f1 Update black_format.yml 2023-10-31 13:47:41 -07:00
Sarah Wooders
23f3d42fae Refactoring CLI to use config file, connect to Llama Index data sources, and allow for multiple agents (#154)
* Migrate to `memgpt run` and `memgpt configure` 
* Add Llama index data sources via `memgpt load` 
* Save config files for defaults and agents
2023-10-30 16:47:54 -07:00
Charles Packer
60aa871f02 Create black_format.yml 2023-10-28 22:39:35 -07:00
Sarah Wooders
8a04a6cb94 Update poetry-publish.yml 2023-10-26 16:57:42 -07:00
Sarah Wooders
0e7ce685c5 Update poetry-publish.yml 2023-10-26 16:50:53 -07:00
Sarah Wooders
ccf00933e6 Create poetry-publish.yml 2023-10-26 16:34:19 -07:00
Vivian Fang
40a93abc85 fix github workflow 2023-10-23 00:20:20 -07:00
Charles Packer
be7fb0598b Create main.yml 2023-10-19 16:25:17 -07:00
cpacker
51ae4d2cb5 Empty initial commit 2023-10-12 16:23:55 -07:00
Charles Packer
4d4149aed5 Create jekyll-gh-pages.yml 2023-10-11 00:49:01 -07:00