Commit Graph

2070 Commits

Author SHA1 Message Date
cthomas
694be7b136 feat: support filtering out approval messages for gemini (#2833) 2025-09-11 00:26:24 -07:00
cthomas
636fb52d87 feat: make multi-agent tools use new agent loop (#2826) 2025-09-10 22:30:12 -07:00
Charles Packer
c91daa7687 fix: patch missing double quote in interface (#2828) 2025-09-10 21:05:21 -07:00
Sarah Wooders
818d279c86 chore: add more indexes for block label and agent_id (#2827) 2025-09-10 20:28:27 -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
ea10f55097 feat: handle incorrect booleans in json from llm (#2820) 2025-09-10 12:31:40 -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
Matthew Zhou
4aa11633af feat: Scrub env vars (#2809) 2025-09-09 16:25:21 -07:00
cthomas
3ede465b53 fix: null check on span before log event (#2810) 2025-09-09 16:23:59 -07:00
cthomas
9c098e8912 fix: logger error in streaming interface (#2807) 2025-09-09 16:02:27 -07:00
cthomas
e832d1cb1b fix: add missing awaits (#2804) 2025-09-09 15:27:05 -07:00
cthomas
681afd84d5 refactor: add public summarize_conversation_history method for parity (#2803) 2025-09-09 15:24:56 -07:00
cthomas
bb2e726615 chore: add extra params to base letta agent (#2802) 2025-09-09 15:19:31 -07:00
cthomas
455aa1da99 chore: clean up unused agent_id var (#2800) 2025-09-09 14:29:24 -07:00
Caren Thomas
3618ec4a98 chore: fix ruff formatting 2025-09-09 14:17:12 -07:00
Caren Thomas
52de7df11e refactor: move last function caching outside of tools load 2025-09-09 14:13:57 -07:00
Caren Thomas
e61a1637c3 Merge branch 'main' into caren/add-tracing-to-new-agent-loop-v3 2025-09-09 14:06:53 -07:00
Caren Thomas
1509bf9037 refactor: move step logging into checkpoint helpers 2025-09-09 13:33:49 -07:00
Caren Thomas
b95c68414b chore: add tracing to new agent loop 2025-09-09 13:14:30 -07:00
Kian Jones
4e4ae856e7 merge resolution bug and linting 2025-09-09 09:40:17 -07:00
Kian Jones
0c5f5dadb8 ruff check 2025-09-09 09:35:10 -07:00
Kian Jones
60c9e3efad Merge branch 'main' into release-0.11.8-3 2025-09-09 09:23:31 -07:00
cthomas
6434c4c2d2 fix: missing actor in sleeptime loop (#4498) 2025-09-09 00:43:04 -07:00
cthomas
9120dd5308 feat: conditionally record step metrics (#4497) 2025-09-09 00:35:03 -07:00
cthomas
82192dee44 feat: handle streaming for hitl in new agent loop (#4496) 2025-09-09 00:27:44 -07:00
cthomas
a0c4f086d0 feat: add check before logging step metrics (#4495) 2025-09-09 00:02:21 -07:00
cthomas
5085dc3f65 fix: async generator return type (#4494) 2025-09-08 23:44:19 -07:00
cthomas
33a03daf1f fix: add llm adapter to build request method (#4493) 2025-09-08 23:38:59 -07:00
cthomas
05d5b53b29 feat: always break when step is finished (#4492) 2025-09-08 23:37:36 -07:00
cthomas
e132d6c6ca feat: break out of summary retry loop when no exception (#4490) 2025-09-08 23:20:10 -07:00
cthomas
7d85742f22 fix: use id instead of step id for metrics (#4489) 2025-09-08 22:54:43 -07:00
cthomas
dd0b3c065a feat: add template id to create message (#4488) 2025-09-08 22:53:18 -07:00
cthomas
31713866f0 fix: add range to for loop (#4487) 2025-09-08 22:43:33 -07:00
cthomas
b9616c1030 feat: migrate sleeptime to new agent loop (#4485)
* feat: migrate sleeptime to new agent loop

* only load agent state when needed
2025-09-08 22:25:01 -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
20881b3383 feat: Surface vector db in source object [LET-4257] (#4479)
* Surface vector db

* Change default

* Fern autogen

* Fix sqlite test managers
2025-09-08 18:08:55 -07:00
cthomas
6a9eb16f4e feat: add summarization retry to new agent loop (#4477) 2025-09-08 17:41:48 -07:00
Matthew Zhou
73e8ee73fc feat: Robustify openai embedding [LET-4256] (#4478)
* Robustify embedding

* Remove unecessary imports

* Add test embeddings
2025-09-08 17:18:54 -07:00
cthomas
e06d9cbb8f feat: add error handling parity to new agent loop (#4471) 2025-09-08 16:35:24 -07:00
cthomas
304b8de32a feat: consolidate stream methods for new agent loop (#4468) 2025-09-08 15:20:36 -07:00
jnjpng
52b7895b16 feat: add encryption key to settings [LET-4245]
add encryption key to settings

Co-authored-by: Letta Bot <noreply@letta.com>
2025-09-08 15:14:34 -07:00
Matthew Zhou
8b9a5e3ddb feat: Add vector db type column to source [LET-4203] (#4469)
* Add vector db type column to source

* Add comments
2025-09-08 15:09:29 -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
Matthew Zhou
f5be308f54 feat: Fix race condition with creating archival memories in parallel [LET-4205] (#4464)
* Test archive manager and add race condition handling

* Fix client tests

* Remove bad test
2025-09-08 12:01:35 -07:00