Commit Graph

66 Commits

Author SHA1 Message Date
Sarah Wooders
ece8dab05d feat: various fixes (#2320)
Co-authored-by: Shubham Naik <shub@memgpt.ai>
Co-authored-by: Matt Zhou <mattzh1314@gmail.com>
Co-authored-by: Shubham Naik <shubham.naik10@gmail.com>
Co-authored-by: Caren Thomas <caren@letta.com>
Co-authored-by: cpacker <packercharles@gmail.com>
2024-12-31 10:53:33 +04:00
Matthew Zhou
9ad5fd64cf chore: Clean up .load_agent usage (#2298) 2024-12-20 16:56:53 -08:00
Matthew Zhou
5bb4888cea fix: Remove in-memory _messages field on Agent (#2295) 2024-12-20 15:52:04 -08:00
dboyliao
12802fa6f5 Fix bug: add required argument actor (load_file_to_source). (#2292) 2024-12-20 10:55:41 -08:00
Matthew Zhou
b1ce8b4e8a chore: Clean up upserting base tools (#2274) 2024-12-18 14:33:29 -08:00
mlong93
91995ae6ff feat: Adding init tool rule for Anthropic endpoint (#2262)
Co-authored-by: Mindy Long <mindy@letta.com>
2024-12-17 15:21:10 -08:00
Matthew Zhou
7908b8a15f feat: Rewrite agents (#2232) 2024-12-13 14:43:19 -08:00
mlong93
9deacbd89e feat: orm passage migration (#2180)
Co-authored-by: Mindy Long <mindy@letta.com>
2024-12-10 18:09:35 -08:00
Matthew Zhou
2125421bd8 fix: Modify the list ORM function (#2208) 2024-12-09 19:35:58 -08:00
Sarah Wooders
d61b2f9545 feat: enable configuration of response_char_limit for tools (#2207) 2024-12-09 18:55:18 -08:00
Charles Packer
fc980ff654 feat: add an async messages route (/agent/{agent_id}/messages/async) (#2206) 2024-12-09 18:23:05 -08:00
Sarah Wooders
1c13e223c3 fix: ask for embedding config for letta load directory ... (#2184) 2024-12-09 15:11:31 -08:00
Charles Packer
668a2a40ad fix: bug in get_tool_id (#2201) 2024-12-08 23:54:29 -08:00
Matthew Zhou
1f57569116 fix: Updating messages (#2186) 2024-12-07 14:09:20 -08:00
Matthew Zhou
79cc78f5cb fix: Patch dummy message and fix test (#2192) 2024-12-07 13:11:46 -08:00
Matthew Zhou
e23df839d8 fix: Fix composio tool add (#2188) 2024-12-07 12:18:17 -08:00
mlong93
6c2c7231ab feat: message orm migration (#2144)
Co-authored-by: Mindy Long <mindy@letta.com>
Co-authored-by: Sarah Wooders <sarahwooders@gmail.com>
Co-authored-by: Matt Zhou <mattzh1314@gmail.com>
2024-12-06 11:50:15 -08:00
Matthew Zhou
f638c42b56 chore: Migrate jobs to the orm (#2165) 2024-12-04 18:11:06 -08:00
Sarah Wooders
f13b3fdc96 feat: pass custom headers to RESTClient (#2151) 2024-12-03 16:02:29 -08:00
Sarah Wooders
07bb536018 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
5a59d2ac42 feat: Separate out streaming route (#2111) 2024-11-27 14:03:46 -08:00
Matthew Zhou
8711e1dc00 chore: Change create_tool endpoint on v1 routes to error instead of upsert (#2102) 2024-11-25 10:46:15 -08:00
Matthew Zhou
69730988ce feat: Sandboxing for tool execution (#2040)
Co-authored-by: Caren Thomas <carenthomas@Jeffs-MacBook-Pro-2.local>
Co-authored-by: Caren Thomas <carenthomas@jeffs-mbp-2.lan>
Co-authored-by: Caren Thomas <carenthomas@Jeffs-MBP-2.hsd1.ca.comcast.net>
Co-authored-by: Sarah Wooders <sarahwooders@gmail.com>
2024-11-22 10:34:08 -08:00
Charles Packer
1fe45372b0 fix: redo #2085 (#2087) 2024-11-21 20:19:22 -08:00
Charles Packer
507a60f71c feat: routes for adding/linking new memory blocks to agents + unlinking blocks from agents (#2083) 2024-11-21 20:08:47 -08:00
Charles Packer
06744c9193 Revert "feat: add route for editing a memory blocks limit (via Memory, instead of via Blocks)" (#2085) 2024-11-21 20:08:17 -08:00
Charles Packer
17e39a57fe feat: add route for editing a memory blocks limit (via Memory, instead of via Blocks) (#2084) 2024-11-21 19:52:08 -08:00
Sarah Wooders
cb85ccebc1 test: add test for pip install on python 3.10, 3.11, and 3.12 and remove crewAI tools (#2082) 2024-11-21 19:50:35 -08:00
Kevin Lin
ab3bf12fb2 fix: fix bug where updates sets block limit to default value (#2074) 2024-11-21 13:58:18 -08:00
Sarah Wooders
86d9851023 feat: allow passing in tags to client.create_agent(tags=[..]) (#2073) 2024-11-20 12:12:14 -08:00
Matthew Zhou
2bb3baf060 feat: Move blocks to ORM model (#1980)
Co-authored-by: Sarah Wooders <sarahwooders@gmail.com>
2024-11-19 11:32:33 -08:00
Matthew Zhou
cf35b9c4cd fix: Fix tool deletion bug (#2034) 2024-11-13 13:07:23 -08:00
Matthew Zhou
d23c0c8cf4 chore: Migrate FileMetadata to ORM (#2028) 2024-11-13 10:59:46 -08:00
Matthew Zhou
e40e60945a feat: Move Source to ORM model (#1979) 2024-11-12 09:57:40 -08:00
Matthew Zhou
960f7421c1 feat: Add ability to add tags to agents (#1984) 2024-11-06 16:16:23 -08:00
Sarah Wooders
640d4c0a22 fix: fix issue with linking tools and adding new tools (#1988)
Co-authored-by: Matt Zhou <mattzh1314@gmail.com>
2024-11-06 14:06:10 -08:00
Sarah Wooders
6b69b73979 feat: add ability to list agents by name for REST API and python SDK (#1982) 2024-11-05 17:31:40 -08:00
Matthew Zhou
b3f86fe4cd chore: Move ID generation logic out of the ORM layer and into the Pydantic model layer (#1981) 2024-11-05 17:05:10 -08:00
Charles Packer
b9f772f196 feat: added ability to disable the initial message sequence during agent creation (#1978) 2024-11-04 16:03:52 -08:00
Sarah Wooders
39999ce48c feat: rename block.name to block.template_name for clarity and add shared block tests (#1951)
Co-authored-by: Matt Zhou <mattzh1314@gmail.com>
2024-11-04 11:49:16 -08:00
Matthew Zhou
c81c3e8297 feat: Add endpoint to add base tools to an org (#1971) 2024-11-01 15:42:43 -07:00
Charles Packer
2764681a8d fix: fix bug with POST /v1/agents/messages route returning empty LettaMessage base objects (#1966) 2024-10-31 16:57:50 -07:00
Matthew Zhou
7bb0f53c23 feat: Implement tool calling rules for agents (#1954) 2024-10-30 16:53:41 -07:00
Matthew Zhou
0784bdc854 feat: Auto-refresh json_schema after tool update (#1958) 2024-10-30 15:05:08 -07:00
Matthew Zhou
41e868c6cc fix: Fix create organization bug (#1956) 2024-10-30 13:55:48 -07:00
Matthew Zhou
9439e5e255 fix: Clean up some legacy code and fix Groq provider (#1950) 2024-10-28 14:13:11 -07:00
Matthew Zhou
adfb9a4b87 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
Sarah Wooders
f802969664 fix: fix inconsistent name and label usage for blocks to resolve recursive validation issue (#1937) 2024-10-25 18:01:33 -07:00
Matthew Zhou
d74406af41 feat: Add orm for Tools and clean up Tool logic (#1935) 2024-10-25 14:25:40 -07:00
Matthew Zhou
150240c7a7 fix: Fix letta delete-agent (#1940) 2024-10-25 13:15:36 -07:00