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
jnjpng
35f848d27f
fix: handle long running send message integration tests that emit LettaPing
2025-09-09 16:29:38 -07:00
Matthew Zhou
4aa11633af
feat: Scrub env vars ( #2809 )
2025-09-09 16:25:21 -07:00
cthomas
d7a17285b0
test: relax string matching in send message tests ( #2806 )
2025-09-09 15:54:09 -07:00
Kian Jones
4e4ae856e7
merge resolution bug and linting
2025-09-09 09:40:17 -07:00
Kian Jones
60c9e3efad
Merge branch 'main' into release-0.11.8-3
2025-09-09 09:23:31 -07:00
cthomas
11a8b0f3e7
test: skip step stream error case temporarily ( #4491 )
2025-09-08 23:27:07 -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
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
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
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
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
cthomas
6029c80446
fix: approval request for streaming ( #4445 )
...
* fix: approval request for streaming
* fix: claude code attempt, unit test passing (add on to #4445 ) (#4448 )
* fix: claude code attempt, unit test passing
* chore: update locks to 0.1.314 from 0.1.312
* chore: just stage-api && just publish-api
* chore: drop dead poetry lock
---------
Co-authored-by: Charles Packer <packercharles@gmail.com >
2025-09-05 17:43:21 -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
Matthew Zhou
fcfc40eaf2
feat: Add project id to message schema [LET-4166] ( #4433 )
...
* Add project id
* Propogate through update message by id async
* Add project id testing
2025-09-04 16:50:41 -07:00
Matthew Zhou
f305d3bfac
feat: Move message embedding to background task [LET-4189] ( #4430 )
...
* Test background message embedding
* Change to content
2025-09-04 15:05:35 -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
Matthew Zhou
334c6bf192
fix: Temp remove timezone test ( #4427 )
...
Temp remove test
2025-09-04 12:05:16 -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
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
jnjpng
37d32be58b
fix: retry on 500 and 503 for gemini [LET-4185]
...
* handle 500 and 503
* timeout
---------
Co-authored-by: Letta Bot <noreply@letta.com >
2025-09-03 14:02:58 -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
Matthew Zhou
88831c7256
feat: Change namespace to be org scoped and filter on agent_id [LET-4163] ( #4368 )
...
* Change to org scoped and agent_id filtering
* Finish modifying conversation search tool
* Fix failing tests
* Get rid of bad imports
2025-09-03 10:00:19 -07:00
Charles Packer
77cab00cb8
fix: try and patch the PATCH/update issue with MCP server URL [LET-3933]
...
* fix: patch update path
* autogenerate
* update
* update
---------
Co-authored-by: Jin Peng <jinjpeng@Jins-MacBook-Pro.local >
Co-authored-by: Letta Bot <noreply@letta.com >
Co-authored-by: jnjpng <jin@letta.com >
2025-09-03 09:42:57 -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
Matthew Zhou
75d444c335
feat: Extend crud lifecycle of messages [LET-4158] ( #4364 )
...
Extend crud lifecycle of messages
2025-09-02 14:38:30 -07:00
Matthew Zhou
7d9d8b0d50
feat: Extract more text from messages [LET-4154] ( #4359 )
...
* Extract more message types
* Add extra tests testing for multiple parts
2025-09-02 13:25:32 -07:00
Matthew Zhou
00fd8617a6
feat: Add association for the vector namespace [LET-4148] ( #4354 )
...
Add association for the namespace
2025-09-02 13:21:42 -07:00
Matthew Zhou
20ac2923ff
feat: Embed all messages in turbopuffer [LET-4143] ( #4352 )
...
* wip
* Finish embedding
* Fix ruff and tests
2025-09-02 12:43:48 -07:00
cthomas
5ca9b5e774
feat: support filtering out approval messages for anthropic api ( #4342 )
2025-09-01 21:39:50 -07:00
Charles Packer
dc5da0ba36
fix: patch bug w/ extended thinking mode involving text leaking into reasoning ( #4341 )
...
* fix: patch for bad native reasoning behavior w/ sonnet
* fix: cleanup
* fix: cleanup
* fix: another prompt tune for less flaking
2025-09-01 20:26:24 -07:00
cthomas
fecff4c12c
feat: add more tests for hitl ( #4339 )
2025-09-01 16:23:06 -07:00
cthomas
3f87fc34f2
feat: handle message persistence for approvals flows ( #4338 )
2025-09-01 14:10:02 -07:00
cthomas
f3112f75a3
feat: add human in the loop tests to CI ( #4335 )
...
feat: add human in the loop tests-to-ci
2025-09-01 11:10:31 -07:00
Charles Packer
56452ae426
fix(core): init attempt at patching the extended thinking bug ( #4331 )
...
* fix(core): init attempt at patching the extended thinking bug
* fix: refactor, fix in a different way be merging instead of dropping, seems to be working
* chore: cleanup
* fix: patch the test - with the new native thinking behavior, anthropic native reasoning does not trigger properly post tool-call
* fix: another attempt
* fix: tests passing locally
* fix: another patch to tests
* fix: pathc more tests
* fix: try turning on the interleave-thinking beta header
* fix: patch test
* fix: add new tests to be more robust
* fix: patch the prompt, now it works more reliably
* fix: typo
2025-09-01 11:09:02 -07:00
cthomas
65cd430317
feat: support deny tool call request ( #4334 )
2025-09-01 10:33:18 -07:00
jnjpng
4df4c5ea2e
fix: retry on MALFORMED_FUNCTION_CALL for gemini [LET-4089]
...
---------
Co-authored-by: Letta Bot <noreply@letta.com >
2025-09-01 07:26:13 -07:00
cthomas
671f561c77
feat: support approve tool call request ( #4333 )
2025-08-31 11:26:21 -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
cthomas
484d2a4e93
feat: add error handling for approval response attempt ( #4326 )
...
* feat: add error handling for approval response attempt
* add one more error case
* improve error messages
2025-08-29 20:39:28 -07:00
Kian Jones
2b80b4aad8
chore: add tbpuf secrets and testing ( #4292 )
...
* add tbpuf secret
* deploy tbpuf key to prod deploy for core
* add secrets in staging and ci
* rn turbopuff test and add to integration test suite
* add tbpuf
* rename all occurences to tpuf
* remove debug prints
* buffer-puf
* add letta prefix
* add debug
* fix tests
2025-08-29 16:44:15 -07:00
Charles Packer
aecb6e32d7
fix(core): update default value [LET-4117] ( #4321 )
...
* fix(core): update default value
* fix: just stage just publish
* fix(core): temporary hardcoding of the anthropic max tokens
* fix(core): patch the gemini
2025-08-29 16:42:19 -07:00
cthomas
cc376b32ed
feat: add support for approval request creation ( #4313 )
2025-08-29 15:23:02 -07:00
Matthew Zhou
83721679c6
test: Add test for archival tag compilation into system prompt [LET-4114] ( #4312 )
...
Add tests and thread created_at
2025-08-29 13:35:19 -07:00
Matthew Zhou
26309264a4
fix: Fix test managers ( #4310 )
...
* Fix test managers
* Mock
2025-08-29 13:03:06 -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