Commit Graph

100 Commits

Author SHA1 Message Date
Sarah Wooders
d30972cee0
feat: refactor agent memory representation and modify routes for editing blocks (#2094)
Co-authored-by: Matt Zhou <mattzh1314@gmail.com>
2024-11-27 16:04:13 -08:00
Matthew Zhou
f23d436e76
feat: Separate out streaming route (#2111) 2024-11-27 14:03:46 -08:00
Matthew Zhou
6d6ee93458
fix: Fix bug for deleting agents belonging to the user org (#2033) 2024-11-13 12:37:31 -08:00
Matthew Zhou
5221bf610e
feat: Move Source to ORM model (#1979) 2024-11-12 09:57:40 -08:00
Matthew Zhou
79582b9f1e
chore: Continue relaxing tool constraints (#1999) 2024-11-06 18:39:10 -08:00
Matthew Zhou
0768b96093
feat: Enable base constructs to automatically populate "created_by" and "last_updated_by" fields for relevant objects (#1944) 2024-10-28 11:04:17 -07:00
Matthew Zhou
6b330d7376
feat: Add orm for Tools and clean up Tool logic (#1935) 2024-10-25 14:25:40 -07:00
Matthew Zhou
5253b0475e
feat: Add ORM for user model (#1924) 2024-10-23 10:28:00 -07:00
Matthew Zhou
ab3431f56a
feat: Add ORM for organization model (#1914) 2024-10-22 14:47:09 -07:00
Charles Packer
180bbfe8a7
feat: add functions to get context window overview (#1903) 2024-10-18 14:29:28 -07:00
Sarah Wooders
d631cec3d6
feat: require LLMConfig and EmbeddingConfig to be specified for agent creation + allow multiple simultaneous provider configs for server (#1814)
Co-authored-by: Shubham Naik <shubham.naik10@gmail.com>
Co-authored-by: Matthew Zhou <mattzh1314@gmail.com>
Co-authored-by: Matt Zhou <mattzhou@Matts-MacBook-Pro.local>
Co-authored-by: Shubham Naik <shub@memgpt.ai>
2024-10-04 19:35:00 -07:00
Charles Packer
896d52b15c
feat: add back support for using AssistantMessage subtype of LettaMessage (#1812) 2024-10-04 15:36:33 -07:00
Sarah Wooders
dda63c4d51
fix: various fixes for workflow tests (#1788) 2024-09-25 13:58:21 -07:00
Sarah Wooders
85faf5f474
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
Charles Packer
3634dba7d9
feat: allow updating Messages via the server, remap CLI commands that update messages to use server.py (#1715)
Co-authored-by: Sarah Wooders <sarahwooders@gmail.com>
2024-09-08 15:24:41 -07:00
Charles Packer
b4f60ade4d
feat: add support for returning type MemGPTMessage from cursor GET (#1723) 2024-09-07 20:03:16 -07:00
Sarah Wooders
f2dfa79432
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
55a36a6e3d
revert: #1659 (#1660) 2024-08-16 19:52:47 -07:00
Sarah Wooders
b39ad16a9d
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
a33c4c2795
fix: sort order (#1574)
Co-authored-by: robingotz <tug29225@temple.edu>
2024-07-26 14:22:38 -07:00
Sarah Wooders
c9f62f54de
feat: refactor CoreMemory to support generalized memory fields and memory editing functions (#1479)
Co-authored-by: cpacker <packercharles@gmail.com>
Co-authored-by: Maximilian-Winter <maximilian.winter.91@gmail.com>
2024-07-01 11:50:57 -07:00
Sarah Wooders
7a4c6d4f2a
feat: add tools from the Python client (#1463) 2024-06-21 20:58:12 -07:00
Sarah Wooders
8fb2b618b1
feat: split up endpoint tests (#1432)
Co-authored-by: cpacker <packercharles@gmail.com>
2024-06-04 19:03:38 -07:00
Sarah Wooders
6ebe177e37
feat: add more tool functionality for python client (#1361)
Co-authored-by: cpacker <packercharles@gmail.com>
2024-05-13 12:05:32 -07:00
Charles Packer
eaed123af8
chore: run autoflake + isort (#1279) 2024-04-20 11:40:22 -07:00
Sarah Wooders
b17c653748
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
Charles Packer
7c7b55f335
feat: add Cohere API support (Command-R+) (#1246) 2024-04-12 20:25:23 -07:00
Sarah Wooders
2d980e4d25
feat: REST API support for tool creation (#1219)
Co-authored-by: cpacker <packercharles@gmail.com>
2024-04-08 22:11:18 -07:00
Charles Packer
9efc892239
fix: Update test_server.py (#1218) 2024-04-03 17:59:06 -07:00
Sarah Wooders
7f688d16b6
feat: move quickstart to use inference.memgpt.ai (#1190) 2024-03-27 17:09:11 -07:00
Sarah Wooders
a881a334d5
feat: client tests for docker compose server (#1189) 2024-03-26 18:58:00 -07:00
Charles Packer
d664e25cef
feat: move source_id to path variable (#1171) 2024-03-20 21:37:52 -07:00
Charles Packer
6abe5c5d0d
fix: (1) refactor in Agent.step() to fix out-of-order timestamps, (2) bug fixes with usage of preset/human vs filename values (#1145) 2024-03-16 20:11:31 -07:00
Charles Packer
dcf746cd91
feat: one time pass of autoflake + add autoflake to dev extras (#1097)
Co-authored-by: tombedor <tombedor@gmail.com>
2024-03-05 16:35:12 -08:00
tombedor
503e812204
feat: isolate test config from main config (#1063)
Co-authored-by: Charles Packer <packercharles@gmail.com>
2024-03-05 16:21:37 -08:00
Sarah Wooders
ce1ce9d06f
feat: Add data loading and attaching to server (#1051) 2024-02-24 19:34:32 -08:00
Sarah Wooders
9ada3ef529
feat: Create RESTClient and Admin client for interacting with server from python (#1033) 2024-02-22 11:16:01 -08:00
Sarah Wooders
c7fbc03e68
refactor: store presets in database via metadata store (#1013) 2024-02-15 18:49:16 -08:00
Adam
ac4a347c12
fix: Enhancements in CommonVector and test_server for Handling Data (#933) 2024-01-27 16:46:23 -08:00
Sarah Wooders
cca9b38294
feat: Store embeddings padded to size 4096 to allow DB storage of varying size embeddings (#852)
Co-authored-by: cpacker <packercharles@gmail.com>
2024-01-19 16:03:13 -08:00
Charles Packer
e4fab1653e
refactor: remove User LLM/embed. defaults, add credentials file, add authentication option for custom LLM backends (#835) 2024-01-18 16:11:35 -08:00
Sarah Wooders
643ae41f4b
feat: Get in-context Message.id values from server (#851) 2024-01-18 12:42:55 -08:00
Maximilian Winter
e3a723b6c0
feat: Support pydantic models as parameters to custom functions (#839)
Co-authored-by: cpacker <packercharles@gmail.com>
2024-01-17 17:21:00 -08:00
Charles Packer
d1b1548ba0
refactor: Use Message types inside Agent state (agent.messages), enabling immediate tracking of Message objects (#836)
Co-authored-by: Sarah Wooders <sarahwooders@gmail.com>
2024-01-17 17:02:56 -08:00
Sarah Wooders
369fe0fa84
fix: Remove usage of config.anon_clientid (#837) 2024-01-16 20:37:58 -08:00
Sarah Wooders
9e21e7e5bc
feat: Cursor-based pagination for storage connectors and server (#830) 2024-01-16 14:45:20 -08:00
Sarah Wooders
6376e4fb3b
feat: Add paginated memory queries (#825)
Co-authored-by: cpacker <packercharles@gmail.com>
2024-01-15 21:21:58 -08:00
cpacker
3f079caaf6 fix: fixed the type hints in server to use uuid, patched tests that used strings as dummy users 2024-01-15 14:01:06 -08:00
Sarah Wooders
8c06cc4bf7
refactor!: Migrate users + agent information into storage connectors (#785)
Co-authored-by: cpacker <packercharles@gmail.com>
2024-01-08 15:59:49 -08:00
Charles Packer
b83d1c599f
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