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
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
Charles Packer
7d388bff32
fix(core): change the backend mid-stream error packing to match what the FE expects [PRO-1107] ( #4340 )
...
fix(core): change the backend mid-stream error packing to match what the FE expects
2025-09-01 14:59:42 -07:00
cthomas
3f87fc34f2
feat: handle message persistence for approvals flows ( #4338 )
2025-09-01 14:10:02 -07:00
cthomas
7c88470705
feat: support filtering out messages when converting to openai dict ( #4337 )
...
* feat: support filtering out messages when converting to openai dict
* fix imports
2025-09-01 12:48:45 -07:00
cthomas
65cd430317
feat: support deny tool call request ( #4334 )
2025-09-01 10:33:18 -07:00
cthomas
671f561c77
feat: support approve tool call request ( #4333 )
2025-08-31 11:26:21 -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
cthomas
cc376b32ed
feat: add support for approval request creation ( #4313 )
2025-08-29 15:23:02 -07:00
cthomas
697be58b78
feat: make new message create type field optional [LET-4116] ( #4319 )
...
feat: make new message create type field optional
2025-08-29 15:22:34 -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
cthomas
bfdb586f74
feat: add approval create input to messages endpoints [LET-4110] ( #4309 )
...
* feat: add approval create input to messages endpoints
* rename discriminator tag
* add base class with default
* add field validator
* exclude new type field from agent file schema
2025-08-29 13:16:03 -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
cthomas
f7c07f65ef
feat: dont swallow application errors in streaming response [LET-4069] ( #4253 )
...
* feat: dont swallow application errors in streaming response
* change error back to exception
2025-08-27 11:59:43 -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
Sarah Wooders
38c251b01b
feat: add cloud template fields to blocks/groups/agents [LET-3979]
...
* commit
* fix tests
* add routes
* remove old fields
* remove entity from group
* generate, migrate
* update
* keep from_template, etc.
* keep block fields
* final
* generate
* pass tests
* generate
* keep defaults
---------
Co-authored-by: jin <jin@letta.com >
2025-08-26 23:17:06 -07:00
Andy Li
acfdab2ced
feat: uv migration ( #3493 )
...
* uv migration
smaller runners, freeze test runs, remove dev, ruff,hatchling, previw,
poetry, generates wheel, installs wheel, docker
* fix tests and dependency groups
* test fixes
* test fixing and main
* resolve merge conflict
* dev + test dependency group
* Test
* trigger CI
* trigger CI
* add debugging info
* trigger CI
* uv for reusable and sdk preview
* resolve mc and reformat black
* staged-api
* mypy
* fix fern
* prod Dockerfile
* model sweep, and project.toml and uvlock
* --group test -> --extra dev
* remove redundant --extra dev and rename tests to dev
* sdk backwards compat install sqlite
* install sqlite group for sdk-backwards-compat
* install uv on gh runner for cloud-api-integration-tests
* stage+publish
* pytest asyncio
* bug causing pytest package to get removed
* try to fix async event loop issues
* migrate to --with google-cloud-secret-manager
---------
Co-authored-by: Kian Jones <kian@letta.com >
2025-08-26 18:11:09 -07:00
cthomas
4b6e52b0e5
feat: make provider trace fetch result nullable [PRO-1063] ( #4222 )
...
feat: make provider trace fetch result nullable
2025-08-26 15:57:02 -07:00
cthomas
c0c43c1b00
feat: pipe env vars through agent file v2 [LET-4054] ( #4217 )
...
feat: pipe env vars through agent file v2
2025-08-26 14:54:06 -07:00
cthomas
e0c79002d9
feat: change env vars to json string [PRO-1061] ( #4216 )
...
feat: change env vars to json string
2025-08-26 14:53:27 -07:00
cthomas
cae23cbdd5
feat: add error handling for background mode fetch [LET-4052] ( #4210 )
...
* feat: add error handling for background mode fetch
* improve redis error message
* fix typeerror
---------
Co-authored-by: Shubham Naik <shub@letta.com >
2025-08-26 14:33:29 -07:00
cthomas
feaf15dc6a
feat: add pagination to list runs endpoint ( #4204 )
2025-08-26 13:26:12 -07:00
cthomas
5bb13d9baa
feat: add background filter to list runs endpoint ( #4196 )
2025-08-26 10:52:36 -07:00
Matthew Zhou
f25844fbe2
fix: Add check status update flag to list ( #4177 )
2025-08-25 16:21:33 -07:00
cthomas
e63dedab7a
feat: add retrieve stream testing ( #4168 )
2025-08-25 16:13:59 -07:00
cthomas
6ca388557f
feat: add new client.runs.stream endpoint ( #4165 )
2025-08-25 13:42:22 -07:00
cthomas
59dc8f7881
feat: set 3hr ttl for streaming background jobs ( #4167 )
2025-08-25 13:39:06 -07:00
cthomas
7eeba12ef5
feat: populate run id in streaming response ( #4161 )
2025-08-25 11:55:41 -07:00