Commit Graph

51 Commits

Author SHA1 Message Date
Matthew Zhou
58aa7e09df feat: Add integration with Composio tools (#1820)
Co-authored-by: Matt Zhou <mattzhou@Matts-MacBook-Pro.local>
Co-authored-by: Sarah Wooders <sarahwooders@gmail.com>
2024-10-02 20:58:03 -07:00
Matthew Zhou
ed7e3d1482 docs: Finish writing example for LangChain tooling (#1810)
Co-authored-by: Matt Zhou <mattzhou@Matts-MacBook-Pro.local>
2024-10-01 13:46:49 -07:00
Matthew Zhou
2164aedb46 fix: Enable importing LangChain tools with arguments (#1807)
Co-authored-by: Matt Zhou <mattzhou@Matts-MacBook-Pro.local>
2024-09-30 18:47:48 -07:00
Sarah Wooders
424cfd60b3 fix: various fixes for workflow tests (#1788) 2024-09-25 13:58:21 -07:00
Sarah Wooders
8ae1e64987 chore: migrate package name to letta (#1775)
Co-authored-by: Charles Packer <packercharles@gmail.com>
Co-authored-by: Shubham Naik <shubham.naik10@gmail.com>
Co-authored-by: Shubham Naik <shub@memgpt.ai>
2024-09-23 09:15:18 -07:00
Sarah Wooders
6591290754 update tests workflow 2024-08-26 15:27:22 -07:00
Sarah Wooders
7f589eaf63 refactor: move API to standardized pydantic schemas across CLI, Python client, REST server (#1579)
Co-authored-by: cpacker <packercharles@gmail.com>
Co-authored-by: matthew zhou <matthewzhou@matthews-MacBook-Pro.local>
Co-authored-by: Zack Field <field.zackery@gmail.com>
2024-08-16 19:53:21 -07:00
Charles Packer
e8813e5937 revert: #1659 (#1660) 2024-08-16 19:52:47 -07:00
Sarah Wooders
9601b53010 refactor: move API to standardized pydantic schemas across CLI, Python client, REST server (cleaned up git history) (#1659)
Co-authored-by: cpacker <packercharles@gmail.com>
Co-authored-by: matthew zhou <matthewzhou@matthews-MacBook-Pro.local>
Co-authored-by: Zack Field <field.zackery@gmail.com>
Co-authored-by: robingotz <tug29225@temple.edu>
Co-authored-by: Vandracon <vandracon@yahoo.com>
Co-authored-by: Maximilian-Winter <maximilian.winter.91@gmail.com>
Co-authored-by: Scott <scott@vysona.com>
Co-authored-by: Jonathan Ward <jonathan.ward7892@gmail.com>
Co-authored-by: madgrizzle <john@thehogans.name>
Co-authored-by: Carlo <284474102@qq.com>
Co-authored-by: Shubham Naik <shubham.naik10@gmail.com>
Co-authored-by: Robin Goetz <35136007+goetzrobin@users.noreply.github.com>
2024-08-16 19:33:47 -07:00
Sarah Wooders
51f06fdae2 fix: various fixes to python client and add tutorial notebooks (#1377) 2024-06-09 15:32:20 -07:00
Anush
ab0e6e5805 feat: Qdrant storage connector (#1023) 2024-06-04 23:24:25 -07:00
Sarah Wooders
97ef8ba022 feat: Ollama embeddings api + Ollama tests (#1433)
Co-authored-by: Krishna Mandal <krishna@mandal.us>
2024-06-04 20:49:20 -07:00
Sarah Wooders
f56179050c feat: split up endpoint tests (#1432)
Co-authored-by: cpacker <packercharles@gmail.com>
2024-06-04 19:03:38 -07:00
Sarah Wooders
595f00831a feat: Milvus storage connector (#1198) (#1400)
Signed-off-by: ChengZi <chen.zhang@zilliz.com>
Co-authored-by: ChengZi <chen.zhang@zilliz.com>
2024-05-25 21:36:46 -07:00
Sarah Wooders
943f59a331 fix: allow passing full postgres URI and only override config URI is env variables provided (#1327)
Co-authored-by: cpacker <packercharles@gmail.com>
2024-05-03 10:39:33 -07:00
Sarah Wooders
416ed3fad9 feat: add workflow to build + test docker container (#1278) 2024-04-21 17:58:09 -07:00
Sarah Wooders
f3b5f5e7db fix: Clean up and simplify docker entrypoint (#1235) (#1259)
Co-authored-by: Ethan Knox <norton120@gmail.com>
2024-04-18 22:39:11 -07:00
Sarah Wooders
be50e44301 fix: remove message UTC validation temporarily to fix dev portal + add -d flag to docker compose up for tests (#1268) 2024-04-17 19:18:13 -07:00
Charles Packer
0d4ceaa3ce fix: patch tests.yml (#1213) 2024-04-03 12:19:10 -07:00
Sarah Wooders
0bf1624140 feat: only use OpenAI for tests.yaml if env variable is set (#1196) 2024-03-28 15:07:02 -07:00
Sarah Wooders
c0bd66c957 feat: client tests for docker compose server (#1189) 2024-03-26 18:58:00 -07:00
Sarah Wooders
c8297f53e4 feat: create memgpt server with postgres DB with docker compose up (#1183) 2024-03-25 22:32:26 -07:00
Charles Packer
e7f42d1420 fix: patch AutoGen integration for 0.3.5 + add AutoGen integration tests (#1081) 2024-03-02 13:45:12 -08:00
Sarah Wooders
3b99151711 feat: Create RESTClient and Admin client for interacting with server from python (#1033) 2024-02-22 11:16:01 -08:00
Sarah Wooders
bf252b90f0 feat: Partial support for OpenAI-compatible assistant API (#838) 2024-02-13 16:09:20 -08:00
Sarah Wooders
da7ecbf103 fix: Remove document truncation and replace DB inserts with upserts (#973) 2024-02-08 20:46:21 -08:00
RT
ccc14e2f76 build: Rename Github actions to improve clarity (#862) 2024-01-19 15:32:11 -08:00
RT
61897921fd build: Update all actions to use cached poetry builds (#846) 2024-01-18 10:31:12 -08:00
RT
2d7c5a0487 build: Update the pytest script to cache poetry artifacts, so tests finish faster (#843) 2024-01-17 17:31:14 -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
cpacker
d0ef339a4a use --all-extras in poetry install for tests 2024-01-02 22:18:17 -08:00
Sarah Wooders
571323c44a Update test workflow to timeout in 15 instead of 10 minutes 2024-01-02 18:06:06 -08:00
Sarah Wooders
5f554d305b Increase workflow test timeout time + add test prints 2023-12-27 15:42:11 +04:00
Sarah Wooders
ba8efb03e8 Add sqlalchemy package 2023-12-27 14:58:57 +04:00
Sarah Wooders
545fc6cf79 ci: Run tests using postgres docker container (#715)
* use postgres docker for tests

* checkout repo

* add checkout

* remove secrets
2023-12-27 13:44:33 +04:00
Charles Packer
b7427e2de7 API server refactor + REST API (#593)
* init server refactor

* refactored websockets server/client code to use internal server API

* added intentional fail on test

* update workflow to try and get test to pass remotely

* refactor to put websocket code in a separate subdirectory

* added fastapi rest server

* add error handling

* modified interface return style

* disabled certain tests on remote

* added SSE response option for user_message

* fix ws interface test

* fallback for oai key

* add soft fail for test when localhost is borked

* add step_yield for all server related interfaces

* extra catch

* update toml + lock with server add-ons (add uvicorn+fastapi, move websockets to server extra)

* regen lock file

* added pytest-asyncio as an extra in dev

* add pydantic to deps

* renamed CreateConfig to CreateAgentConfig

* fixed POST request for creating agent + tested it
2023-12-11 15:08:42 -08:00
Sarah Wooders
aecc4c1deb Add lancedb and chroma into default package dependencies (#605)
* add lancedb and chroma info default dependencies

* Update tests.yml

---------

Co-authored-by: Charles Packer <packercharles@gmail.com>
2023-12-10 21:20:33 -08:00
Sarah Wooders
6a155dfc90 Chroma storage integration (#285) 2023-12-05 17:49:00 -08:00
Sarah Wooders
2d23370930 Removing dead code + legacy commands (#536) 2023-11-30 13:37:11 -08:00
Sarah Wooders
d117557b6a Upgrade workflows to Python 3.11 (#441)
* use python 3.11

* change format
2023-11-15 10:11:59 -08:00
Charles Packer
354bd520e0 softpass test when keys are missing (#369)
* softpass test when keys are missing

* update to use local model

* both openai and local

* typo

* fix

* Specify model inference and embedding endpoint separately  (#286)

* Fix config tests (#343)

Co-authored-by: Vivian Fang <hi@vivi.sh>

* Avoid throwing error for older `~/.memgpt/config` files due to missing section `archival_storage` (#344)

* avoid error if has old config type

* Dependency management  (#337)

* Divides dependencies into `pip install pymemgpt[legacy,local,postgres,dev]`. 
* Update docs

* Relax verify_first_message_correctness to accept any function call (#340)

* Relax verify_first_message_correctness to accept any function call

* Also allow missing internal monologue if request_heartbeat

* Cleanup

* get instead of raw dict access

* Update `poetry.lock` (#346)

* mark depricated API section

* add readme

* add readme

* add readme

* add readme

* add readme

* add readme

* add readme

* add readme

* add readme

* CLI bug fixes for azure

* check azure before running

* Update README.md

* Update README.md

* bug fix with persona loading

* remove print

* make errors for cli flags more clear

* format

* fix imports

* fix imports

* add prints

* update lock

* Add autogen example that lets you chat with docs (#342)

* Relax verify_first_message_correctness to accept any function call

* Also allow missing internal monologue if request_heartbeat

* Cleanup

* get instead of raw dict access

* Support attach in memgpt autogen agent

* Add docs example

* Add documentation, cleanup

* add gpt-4-turbo (#349)

* add gpt-4-turbo

* add in another place

* change to 3.5 16k

* Revert relaxing verify_first_message_correctness, still add archival_memory_search as an exception (#350)

* Revert "Relax verify_first_message_correctness to accept any function call (#340)"

This reverts commit 30e911057d755f5946d7bc2ba54619b5f2e08dc3.

* add archival_memory_search as an exception for verify

* Bump version to 0.1.18 (#351)

* Remove `requirements.txt` and `requirements_local.txt` (#358)

* update requirements to match poetry

* update with extras

* remove requirements

* disable pretty exceptions (#367)

* Updated documentation for users (#365)


---------

Co-authored-by: Vivian Fang <hi@vivi.sh>

* Create pull_request_template.md (#368)

* Create pull_request_template.md

* Add pymemgpt-nightly workflow (#373)

* Add pymemgpt-nightly workflow

* change token name

* Update lmstudio.md (#382)

* Update lmstudio.md

* Update lmstudio.md

* Update lmstudio.md to show the Prompt Formatting Option (#384)

* Update lmstudio.md to show the Prompt Formatting Option

* Update lmstudio.md Update the screenshot

* Swap asset location from #384 (#385)

* Update poetry with `pg8000` and include `pgvector` in docs  (#390)

* Allow overriding config location with `MEMGPT_CONFIG_PATH` (#383)

* Always default to local embeddings if not OpenAI or Azure  (#387)

* Add support for larger archival memory stores (#359)

* Replace `memgpt run` flags error with warning + remove custom embedding endpoint option + add agent create time (#364)

* Update webui.md (#397)

turn emoji warning into markdown warning

* Update webui.md (#398)

* dont hard code embeddings

* formatting

* black

* add full deps

* remove changes

* update poetry

---------

Co-authored-by: Sarah Wooders <sarahwooders@gmail.com>
Co-authored-by: Vivian Fang <hi@vivi.sh>
Co-authored-by: MSZ-MGS <65172063+MSZ-MGS@users.noreply.github.com>
2023-11-09 12:11:19 -08:00
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