Commit Graph

579 Commits

Author SHA1 Message Date
cthomas
63ddfc1944 fix: re-add telemetry route for backwards compatibility (#2879) 2025-09-14 16:22:11 -07:00
cthomas
eb19d40099 feat: move telemetry endpoint into steps (#2878) 2025-09-14 16:11:15 -07:00
cthomas
a86a125f39 fix: make feedback endpoint use request body not query params (#2875) 2025-09-14 16:00:18 -07:00
cthomas
73f6e90030 feat: make docstrings consistent for providers routes (#2876) 2025-09-14 15:43:14 -07:00
cthomas
2c44c87509 feat: add pagination to client.tags.list endpoint (#2874) 2025-09-14 15:38:40 -07:00
cthomas
23c31ca788 feat: update docstring and titles for batch routes (#2873) 2025-09-14 15:25:02 -07:00
cthomas
88f727295b feat: add pagination to list batch run endpoing (#2872) 2025-09-14 15:11:14 -07:00
cthomas
1a18314c6f test: use patch for agent loop error mocking in tests (#2860) 2025-09-12 16:46:18 -07:00
cthomas
087ab14fd6 feat: raise early exceptions in streaming endpoint (#2858) 2025-09-12 14:43:32 -07:00
cthomas
6cc8f37341 fix: remove extra logger param (#2851) 2025-09-12 07:07:26 -07:00
jnjpng
67729ba35f feat: auto register mcp server tools as letta tools (#2847)
Co-authored-by: Jin Peng <jinjpeng@Jins-MacBook-Pro.local>
2025-09-11 17:42:28 -07:00
Matthew Zhou
5e04cfa5f4 fix: Update run to errored terminal state if streaming errors (#2846) 2025-09-11 16:54:51 -07:00
jnjpng
992ce79368 fix: catch streamable http exceptions and handle error codes for list mcp tools
Co-authored-by: Jin Peng <jinjpeng@Jins-MacBook-Pro.local>
2025-09-11 15:17:05 -07:00
cthomas
858b8aa5c3 feat: add asyncio shield to async message route (#2825) 2025-09-10 17:38:43 -07:00
cthomas
2d971cdcf0 feat: hold reference to asyncio tasks in memory (#2823) 2025-09-10 17:08:07 -07:00
cthomas
65bd9492f5 feat: cutover to new refactored agent loop (#2801) 2025-09-10 14:46:30 -07:00
cthomas
4a37153da8 chore: rename create batch operation id (#2815) 2025-09-09 18:15:57 -07:00
cthomas
e1f702a6ab feat: update pagination params for batch messages endpoint (#2814) 2025-09-09 18:11:17 -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
cthomas
52b50d6aac feat: clean up list run messages endpoint (#2811) 2025-09-09 17:45:28 -07:00
Kian Jones
60c9e3efad Merge branch 'main' into release-0.11.8-3 2025-09-09 09:23:31 -07:00
Matthew Zhou
3a551f4bb7 feat: Add turbopuffer embedder by default [LET-4253] (#4476)
* Adapt to turbopuffer embedder

* Make turbopuffer search more efficient over all source ids

* Combine turbopuffer and pinecone hybrid

* Fix test sources
2025-09-08 18:46:41 -07:00
Matthew Zhou
ae7d08b2f5 feat: Add error handling callback [LET-4258] (#4481)
Add error handling callback
2025-09-08 18:45:03 -07:00
Matthew Zhou
531eb6afeb feat: Add project_id to message filtering/inserting to Turbopuffer [LET-4252] (#4466)
* Add project_id

* Fern autogen
2025-09-08 14:35:15 -07:00
Charles Packer
3442b52cf7 fix(core): patch the error throwing for HITL [LET-4218] (#4455)
fix: patch the error throwing for HITL
2025-09-06 11:45:46 -07:00
Charles Packer
91d5a41c3e fix: Add approval messages to runs.stream SSE schema (align with agents.create_stream) (#4451)
* fix: patch error on HITL tests

* Revert uv.lock to match main

* fix: IDK why uv lock keeps changing???
2025-09-05 21:44:26 -07:00
Matthew Zhou
fb0e2d91a2 feat: Write tests for search messages [LET-4212] (#4447)
* Adjust naming

* Add testing and improve message search

* Adjust comments

* Change query text to query

* Fern autogen
2025-09-05 17:52:13 -07:00
Matthew Zhou
2e3cabc080 feat: Add search messages endpoint [LET-4144] (#4434)
* Add search messages endpoint

* Run fern autogen and fix tests
2025-09-05 14:28:27 -07:00
cthomas
7a79ea6b43 feat: poll cancellation status in client.runs.stream endpoint [LET-4209] (#4439)
* feat: make include pings default to true

* feat: add cancellation checks in  path
2025-09-05 12:30:30 -07:00
Shubham Naik
83a4815fa8 chore: fix backend error fix (#4428)
Co-authored-by: Shubham Naik <shub@memgpt.ai>
2025-09-04 14:10:32 -07:00
Matthew Zhou
b8d403c962 feat: Add ranks to archival memory search [LET-4193] (#4426)
* Add ranks to archival memory search

* Fix test managers

* Fix archival memory test
2025-09-04 13:35:54 -07:00
Shubham Naik
26da4dbd9c feat: add the ability to find/delete by deployment id [PRO-1150] (#4421)
* feat: add the ability to find/delete by deployment id

* fix: add ability to delete by deployment id

---------

Co-authored-by: Shubham Naik <shub@memgpt.ai>
2025-09-04 11:08:54 -07:00
Shubham Naik
56e2800892 feat: add hidden property to group and blocks [PRO-1145] (#4415)
* feat: add hidden property to group and blocks

* feat: add hidden property to group and blocks

* chore: bup

* chore: add hidden property

* chore: next

---------

Co-authored-by: Shubham Naik <shub@memgpt.ai>
2025-09-04 10:53:16 -07:00
Shubham Naik
bffb400031 chore: surface the templates rest endpoint (#4412)
* chore: surface the templates rest endpoint

* chore: fix python server stuff

---------

Co-authored-by: Shubham Naik <shub@memgpt.ai>
2025-09-04 08:48:46 -07:00
Sarah Wooders
22c17688ec chore: merge main 2025-09-03 21:30:05 -07:00
Sarah Wooders
8a9af86e7c feat: use datetime ranges for archival memory query (#4398) 2025-09-03 20:08:10 -07:00
Matthew Zhou
6dccc1961b feat: Add archival search endpoint [LET-4184] (#4390)
* Add archival search endpoint

* Run fern autogen

* Add de-dupe logic
2025-09-03 10:55:20 -07:00
cthomas
1e0c9a710b feat: refactor streaming route logic (#4369) 2025-09-02 19:27:13 -07:00
Shubham Naik
6716f5b5e8 feat: allow list tools by tool type [PRO-870] (#4036)
* feat: allow list tools by tool type

* chore: update list

* chore: respond to comments

* chore: refactor tools hella

* Add tests to managers

* chore: branch

---------

Co-authored-by: Shubham Naik <shub@memgpt.ai>
Co-authored-by: Matt Zhou <mattzh1314@gmail.com>
2025-09-02 15:53:36 -07:00
cthomas
6c160e1d1d feat: add input validation for messages field (#4328) 2025-08-29 22:06:12 -07:00
cthomas
6a5e7dd606 fix: modify approvals openapi overrides (#4324) 2025-08-29 16:55:45 -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
cthomas
7a2ccbd357 feat: add new modify approvals api (#4288)
* feat: add new modify approvals api

* remove path params override
2025-08-28 16:45:07 -07:00
Sarah Wooders
b4fc7012cc chore: patch update tools (#4090)
* patch update tools

* update tool patch

* fallback to generation for legacy tools

* avoid re-parsing source if json schema exists

* fix more tests

* remove asssert

* fix

* update

* update

* update

* Fix tests

---------

Co-authored-by: Matt Zhou <mattzh1314@gmail.com>
2025-08-28 11:34:36 -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
Shubham Naik
a8ffae6f8d feat: fix agentfile in clooud [PRO-1013] (#4271)
* feat: fix agentfile in clooud

* chore; fix lint

---------

Co-authored-by: Shubham Naik <shub@memgpt.ai>
2025-08-28 09:16:46 -07:00
cthomas
27458ffad5 feat: move deepseek to new agent loop [LET-4081] (#4266)
* feat: move deepseek to new agent loop

* fixes
2025-08-27 16:50:34 -07:00
Sarah Wooders
2b23ec7dff feat: support overriding embedding handle [LET-4021] (#4224) 2025-08-27 14:54:17 -07:00
cthomas
84e493111b feat: asyncify groups operations [LET-4068] (#4254)
feat: asyncify groups operations
2025-08-27 12:00:53 -07:00
Matthew Zhou
c3855d7c16 chore: Default to agent file v2 [LET-4063] (#4245)
Default to v2
2025-08-27 10:32:29 -07:00