Commit Graph

158 Commits

Author SHA1 Message Date
cthomas
2d971cdcf0 feat: hold reference to asyncio tasks in memory (#2823) 2025-09-10 17:08:07 -07:00
jnjpng
2aae4bf0db feat: add resync tool endpoint (#2812)
Co-authored-by: Jin Peng <jinjpeng@Jins-MacBook-Pro.local>
2025-09-09 18:11:02 -07:00
Charles Packer
9bbe7ecb3e feat: various performance patches for gpt-5 [LET-4157] (#4381)
* feat: increase the verbosity of the heartbeat kwarg

* chore: strip docstrings out from the file in which they are not parsed (duplicates inside base.py

* feat: add examples to the docstrings for memory_replace and memory_insert

* feat: add more examples
2025-09-06 11:23:13 -07:00
Matthew Zhou
56bd02d778 chore: Add more prompting around archival datetime (#4432)
Add more prompting around archival datetime
2025-09-04 15:31:49 -07:00
Matthew Zhou
ba3843031e feat: Make end date inclusive on conversation search (#4431)
Make end date inclusive
2025-09-04 15:26:49 -07:00
Matthew Zhou
25d37e2ac9 fix: change to pure rank-based RRF for relevance ordering (#4411)
* Fix RRF

* Fix turbopuffer tests
2025-09-03 17:33:19 -07:00
Matthew Zhou
3126598720 feat: Change web search to exa [LET-4190] (#4401)
* Change web search to exa

* Fix tf/justfile

* add exa api key for integration test

* Mock exa

---------

Co-authored-by: Kian Jones <kian@letta.com>
2025-09-03 15:52:10 -07:00
Matthew Zhou
e6c9b4d708 feat: Add fetch webpage tool [LET-4188] (#4395)
* Add fetch webpage tool

* Use trafilatura for web extraction
2025-09-03 13:34:35 -07:00
Matthew Zhou
8e2a53b956 feat: Modify conversation search tool to be hybrid (#4362)
* Modify conversation search functionality

* Gate the roles
2025-09-02 13:45:53 -07:00
Matthew Zhou
335e0c2be1 feat: Support timestamp filtering for archival memories [LET-3469] (#4330)
Finish temporal filtering
2025-08-30 19:31:07 -07:00
Matthew Zhou
23b2769dc4 feat: Allow agent archival tools to insert/search with tags [LET-4072] (#4300)
* Finish modifying archival memory tools

* Add tags

* Add disabled test
2025-08-29 11:55:06 -07:00
Kian Jones
ca6cfa5914 chore: migrate to ruff (#4305)
* base requirements

* autofix

* Configure ruff for Python linting and formatting

- Set up minimal ruff configuration with basic checks (E, W, F, I)
- Add temporary ignores for common issues during migration
- Configure pre-commit hooks to use ruff with pass_filenames
- This enables gradual migration from black to ruff

* Delete sdj

* autofixed only

* migrate lint action

* more autofixed

* more fixes

* change precommit

* try changing the hook

* try this stuff
2025-08-29 11:11:19 -07:00
Matthew Zhou
651671cb83 feat: Support basic upload/querying on tpuf [LET-3465] (#4255)
* wip implementing turbopuffer

* Move imports up

* Add type of archive

* Integrate turbopuffer functionality

* Debug turbopuffer tests failing

* Fix turbopuffer

* Run fern

* Fix multiple heads
2025-08-28 10:39:16 -07:00
Matthew Zhou
2fa546e15d chore: Move environment to settings [LET-4080] (#4265)
Move environment to settings
2025-08-27 14:52:35 -07:00
jnjpng
fb6ecfc575 LET-4053: chore: clean up old mcp client code
fix(LET-4053): clean up old mcp client code

Remove commented-out and unused files in functions/mcp_client:
- Deleted base_client.py (fully commented out)
- Deleted sse_client.py (fully commented out)
- Deleted stdio_client.py (fully commented out)
- Deleted empty __init__.py

Kept types.py and exceptions.py as they contain active code still being used.
2025-08-26 14:14:09 -07:00
jnjpng
4d6d686c6e feat: generate strict-compatible schema for MCP tools with optional fields
Co-authored-by: Jin Peng <jinjpeng@Jins-MacBook-Pro.local>
2025-08-25 22:08:59 -07:00
jnjpng
feb232f04a fix: mcp schema generation and non-strict schema validation
Co-authored-by: Jin Peng <jinjpeng@Jins-MacBook-Pro.local>
2025-08-22 15:45:33 -07:00
Matthew Zhou
a4cd4a9487 fix: Fix 0 indexing for offset (#4086) 2025-08-21 14:29:51 -07:00
Charles Packer
86f7e2036d fix: patch support for custom headers + auth in MCP connects (was getting a weird silent error)
Co-authored-by: jnjpng <jin@letta.com>
Co-authored-by: Jin Peng <jinjpeng@Jins-MacBook-Pro.local>
2025-08-21 13:42:19 -07:00
Sarah Wooders
136aa89047 fix: move to static parsing for python docstrings (#3973) 2025-08-17 15:16:13 -07:00
Charles Packer
7bdc0a8de8 fix: handle faulty schemas from bad mcp servers better
Co-authored-by: jnjpng <jin@letta.com>
Co-authored-by: Jin Peng <jinjpeng@Jins-MacBook-Pro.local>
2025-08-15 16:08:52 -07:00
Andy Li
183c67c181 feat: typescript sandbox 2025-08-12 15:39:17 -07:00
Sarah Wooders
20a857b900 chore: remove legacy embeddings (#3846) 2025-08-12 15:11:09 -07:00
Kevin Lin
81093ac10b feat: add line number warning to memory_insert (#3829) 2025-08-08 13:47:13 -07:00
Sarah Wooders
e5497b1d0d chore: merge oss (#3712) 2025-08-07 22:20:26 -07:00
Matthew Zhou
637d2854e6 feat: Change grep to be paginated (#3815) 2025-08-07 16:50:05 -07:00
Sarah Wooders
1ec1bfe312 fix: patch non-optional memory replace (#3803) 2025-08-07 13:51:12 -07:00
Matthew Zhou
25086518cd feat: Implement archival sharing (#3689) 2025-08-01 23:34:49 -07:00
jnjpng
8d0bc26035 fix: add logger for template variables for mcp
Co-authored-by: Jin Peng <jinjpeng@Jins-MacBook-Pro.local>
2025-08-01 14:27:00 -07:00
Matthew Zhou
50014701be feat: Change defaults on web search tool (#3646) 2025-07-29 22:23:37 -07:00
jnjpng
cf8c59aab9 feat: allow mcp authentication overrides per agent (#3318)
Co-authored-by: Jin Peng <jinjpeng@Jins-MacBook-Pro.local>
2025-07-28 18:20:58 -07:00
cthomas
19a0e10414 feat: add error message in generate schema log (#3482) 2025-07-22 13:45:08 -07:00
Andy Li
904d9ba5a2 chore: strings lint cleanup (#3374) 2025-07-18 09:20:45 -07:00
Kevin Lin
3959a33f7d feat: update system prompt with file and search instructions (#3298) 2025-07-14 11:20:55 -07:00
Kevin Lin
f3645545e3 feat: remove persona/human from tool descriptions (#3250)
Co-authored-by: Charles Packer <packercharles@gmail.com>
2025-07-10 21:45:00 -07:00
Matthew Zhou
fc07b2b2c2 fix: Add comprehensive testing for tool creation paths (#3255) 2025-07-09 15:51:50 -07:00
Matthew Zhou
9605d1f79c feat: Add pinecone for cloud embedding (#3160) 2025-07-03 22:37:55 -07:00
Matthew Zhou
e9f7601892 feat: Add close all files functionality (#3139) 2025-07-02 14:27:38 -07:00
Matthew Zhou
2263ffd07c feat: Various file fixes and improvements (#3125) 2025-07-01 15:21:52 -07:00
Matthew Zhou
b802b22513 feat: Add back multi agent tools and protections for cloud (#3100) 2025-06-29 22:45:39 -07:00
Matthew Zhou
edb20fa8d9 feat: Rework and simplify files tooling (#3058) 2025-06-27 13:23:44 -07:00
Matthew Zhou
375e77da1a fix: Remove async multiagent tool (#2994) 2025-06-24 15:17:45 -07:00
Matthew Zhou
61cbcba472 feat: Add optional lines param to grep tool (#2914) 2025-06-20 13:36:54 -07:00
Matthew Zhou
a1a203c943 feat: Parallel web search tool (#2890) 2025-06-18 14:07:51 -07:00
Matthew Zhou
c1ad25fa17 feat: Port firecrawl search into web search (#2868) 2025-06-17 14:08:31 -07:00
Matthew Zhou
75edfda3c3 fix: Patch model dump issues on firecrawl (#2864) 2025-06-17 11:40:07 -07:00
Matthew Zhou
06ad51ba72 feat: Add built in firecrawl search tool (#2858) 2025-06-17 01:16:39 -07:00
jnjpng
729acaedb2 feat: add token column to mcp_servers and pipe through to sse server config (#2775)
Co-authored-by: Jin Peng <jinjpeng@Jins-MacBook-Pro.local>
2025-06-14 18:48:10 -07:00
Kevin Lin
8148dab8a8 feat: tune file tools prompting (#2652) 2025-06-13 16:24:59 -07:00
cthomas
97986b0f03 feat: send stop reason in letta APIs (#2789) 2025-06-13 16:04:48 -07:00