Commit Graph

63 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
Charles Packer
4ab9f6095d fix: record the external memory summary inside of the context viewer (#2306) 2024-12-23 02:27:01 -08:00
Charles Packer
c95157daf8 fix: patch bug in inner thoughts unpacker (#2311) 2024-12-22 21:04:29 -08:00
cthomas
0c209ee2f8 fix: add underlying error message for Retries Exhausted error (#2308) 2024-12-22 11:30:01 -08:00
Matthew Zhou
9ad5fd64cf chore: Clean up .load_agent usage (#2298) 2024-12-20 16:56:53 -08:00
cthomas
a5b1aac1fd fix: propagate error on tool failure (#2281)
Co-authored-by: Caren Thomas <caren@caren-mac.local>
2024-12-20 16:38:16 -08:00
Matthew Zhou
5bb4888cea fix: Remove in-memory _messages field on Agent (#2295) 2024-12-20 15:52:04 -08:00
mlong93
a70fbca219 feat: Add ConditionalToolRules (#2279)
Co-authored-by: Mindy Long <mindy@letta.com>
2024-12-19 14:54:21 -08:00
cthomas
0792887527 feat: add new RateLimitExceededError (#2277)
Co-authored-by: Caren Thomas <caren@caren-mac.local>
2024-12-18 17:15:40 -08:00
mlong93
d059e0bc99 fix: Allow ChildToolRule to work without support for structured outputs (#2270)
Co-authored-by: Mindy Long <mindy@letta.com>
2024-12-17 18:04:26 -08:00
Matthew Zhou
9a0ffc84dd fix: Deprecate in memory function stores in agent.py (#2271) 2024-12-17 16:18:11 -08:00
Matthew Zhou
7fb8f16155 chore: Add testing around base tools (#2268) 2024-12-17 15:46:05 -08:00
cthomas
6fb2968006 fix: refactor sandbox run logic to add status field (#2248)
Co-authored-by: Caren Thomas <caren@caren-mac.local>
2024-12-17 15:44:41 -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
Keith
c7131ad0da docs: Feature/update docs (#2257) 2024-12-16 17:15:50 -08:00
mlong93
e2d916148e feat: separate Passages tables (#2245)
Co-authored-by: Mindy Long <mindy@letta.com>
2024-12-16 15:24:20 -08:00
Matthew Zhou
747712b165 chore: Delete metadata.py (#2253) 2024-12-13 18:00:07 -08:00
Matthew Zhou
7908b8a15f feat: Rewrite agents (#2232) 2024-12-13 14:43:19 -08:00
mlong93
be274749fc feat: archival memory file upload (#2228)
Co-authored-by: Mindy Long <mindy@letta.com>
Co-authored-by: Sarah Wooders <sarahwooders@gmail.com>
2024-12-12 11:36:26 -08:00
mlong93
2307739ff3 chore: removed agent_store, storage connectors (#2229)
Co-authored-by: Mindy Long <mindy@letta.com>
2024-12-11 15:14:26 -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
Sarah Wooders
d61b2f9545 feat: enable configuration of response_char_limit for tools (#2207) 2024-12-09 18:55:18 -08:00
Sarah Wooders
281f220956 feat: remove loading from module (#2196) 2024-12-07 16:13:37 -08:00
Matthew Zhou
1f57569116 fix: Updating messages (#2186) 2024-12-07 14:09:20 -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
Charles Packer
e51c21070e fix: patch system message creation spam (#2169)
Co-authored-by: Sarah Wooders <sarahwooders@gmail.com>
2024-12-05 11:52:51 -08:00
Sarah Wooders
fe041148bd fix: support initializing with custom message sequences (#2154) 2024-12-04 13:25:57 -08:00
Matthew Zhou
58ec6238a8 feat: Improve retry mechanism for _get_ai_reply and refactor method (#2113) 2024-11-30 09:57:52 -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
Charles Packer
f237717ce4 fix: do a pre-validation validation on the inputs assigned to agent_state.message_ids (#2098) 2024-11-25 10:44:14 -08:00
Charles Packer
f438c057f8 fix: remove stray input (#2096) 2024-11-22 11:10:41 -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
Kevin Lin
8395c86f78 fix: shared memory without requiring send message (#2068) 2024-11-21 13:58:03 -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
Charles Packer
a75dfd7907 fix: context window overflow patch (#2053) 2024-11-18 15:21:11 -08:00
Charles Packer
7f8e911038 feat: added token counter command to CLI (#2047) 2024-11-17 14:02:21 -08:00
Matthew Zhou
2d26365e42 fix: Fix summarizer for Anthropic and add integration tests (#2046) 2024-11-15 16:46:12 -08:00
Matthew Zhou
e40e60945a feat: Move Source to ORM model (#1979) 2024-11-12 09:57:40 -08:00
Sarah Wooders
c995ec50b3 feat: move HTML rendering of messages into LettaResponse and update notebook (#1983) 2024-11-06 19:43:56 -08:00
Matthew Zhou
a274261b64 chore: Add tool rules example (#1998)
Co-authored-by: Sarah Wooders <sarahwooders@gmail.com>
2024-11-06 19:14:13 -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
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
Matthew Zhou
7bb0f53c23 feat: Implement tool calling rules for agents (#1954) 2024-10-30 16:53:41 -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
Charles Packer
8a9e6dddd3 feat: add function IDs to LettaMessage function calls and response (#1909) 2024-10-19 21:47:48 -07:00
Charles Packer
11b8371953 feat: add functions to get context window overview (#1903) 2024-10-18 14:29:28 -07:00
Matthew Zhou
c18eb466f8 feat: Add put_inner_thoughts_in_kwargs as a config setting for the LLM (#1902)
Co-authored-by: Matt Zhou <mattzhou@Matts-MacBook-Pro.local>
2024-10-17 15:54:03 -07:00
Charles Packer
157634bf44 feat: add GET route to get the breakdown of an agent's context window (#1889) 2024-10-15 13:32:37 -07:00