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
f64255f5c9
feat: add requires approval logic to tool rules solver ( #4294 )
2025-08-28 17:06:46 -07:00
Matthew Zhou
016feda83a
feat: Support arbitrary string tagging filtering [LET-3467] ( #4285 )
...
* Finish tagging
* Add comprehensive tags functionality
* Add fern autogen
* Create passage tags table
* Add indices
* Add comments explaining dual storage
* Fix alembic heads
* Fix alembic
---------
Co-authored-by: Kian Jones <11655409+kianjones9@users.noreply.github.com >
2025-08-28 16:57:36 -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
cthomas
e0be1e028c
feat: add new approval request message objects ( #4291 )
2025-08-28 16:44:48 -07:00
cthomas
b0cf7f0e93
feat: add new default_requires_approval flag on tools ( #4287 )
2025-08-28 15:38:59 -07:00
cthomas
9e43b8e015
feat: add new require approvals tool rule ( #4280 )
...
* feat: add new require approvals tool rule
* add fe changes
* openapi sync 2
2025-08-28 13:34:00 -07:00
Matthew Zhou
2791be982a
feat: Add hybrid search on turbopuffer [LET-4096] ( #4284 )
...
Add hybrid search
2025-08-28 13:10:25 -07:00
Matthew Zhou
cf3423a21a
feat: De-dupe tool rules [LET-4091] ( #4282 )
...
* Add hash/eqs for de-dupe
* Add sdk test
2025-08-28 12:43:32 -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
cthomas
2d6727673a
feat: clean up legacy deepseek api call logic [LET-4087] ( #4275 )
...
feat: clean up legacy deepseek api call logic
Co-authored-by: Shubham Naik <shub@letta.com >
2025-08-28 11:12:28 -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
Shubham Naik
1b03282a79
fix: model not displaying properly [PRO-1072] ( #4267 )
...
* chore: fix model display
* chore: new ts
* chore: fix model rendering
---------
Co-authored-by: Shubham Naik <shub@memgpt.ai >
2025-08-28 07:58:52 -07:00
cthomas
b316c61221
feat: add invalid_llm_response stop reason [LET-4083] ( #4269 )
...
* feat: add invalid_llm_response stop reason
* add sqllite support
* simply skip for sqllite
* fix imports
* fix isort
2025-08-27 17:07:47 -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
Kian Jones
051ae46105
feat: add trufflehog to precommit ( #4252 )
...
* add trufflehog
* add to readme
* use their docs
2025-08-27 15:33:33 -07:00
jnjpng
a4789aa8f4
fix: test_mcp.py tests [LET-4075]
...
* fix tests
* update venv cleanup
2025-08-27 15:04:47 -07:00
Sarah Wooders
2b23ec7dff
feat: support overriding embedding handle [LET-4021] ( #4224 )
2025-08-27 14:54:17 -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
cthomas
9f919cf925
fix: add timeout to test_sdk_client.py test ( #4262 )
2025-08-27 14:37:06 -07:00
cthomas
6a5a9962a2
fix: sonnet send message tests [LET-4074] ( #4260 )
...
* fix: sonnet send message tests
* one more check
2025-08-27 13:51:21 -07:00
cthomas
9080cb6914
feat: update timeout for sdk tests [LET-4070] ( #4256 )
...
feat: update timeout for sdk tests
Co-authored-by: jnjpng <jin@letta.com >
2025-08-27 13:45:29 -07:00
cthomas
65703a3f2d
fix: sdk tests [LET-4071] ( #4258 )
...
fix: sdk tests
2025-08-27 13:02:53 -07:00
Matthew Zhou
f8935282e1
fix: Fix a bunch of failing tests [LET-4065] ( #4249 )
...
* Finish fixing async loop for test_agent_serialization_v2
* Fix tests
* Remove rounding for sqlite
---------
Co-authored-by: Shubham Naik <shub@letta.com >
2025-08-27 12:48:03 -07:00
cthomas
eba1a4a7d6
fix: letta hosted embedding dim ( #4257 )
2025-08-27 12:41:14 -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
cthomas
8b617c9e0d
fix: gemini flash integration test [LET-4060] ( #4242 )
...
* fix: gemini flash integration test
* also update google flash
* catch error in test
* revert test changes
* do try catch again
* remove try catch from streaming tests
* add try catch for summarize test also
2025-08-27 11:59:15 -07:00
cthomas
b4e5018841
fix: hugging face embedding test [LET-4064] ( #4246 )
...
* fix: hugging face embedding test
* openapi sync
2025-08-27 11:58:03 -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
cthomas
9498830583
fix: test embeddings missing fixture [LET-4062] ( #4244 )
...
fix: test embeddings missing fixture
2025-08-27 10:11:56 -07:00
cthomas
4ed307f98f
fix: test managers failure on main [LET-4061] ( #4243 )
...
fix: test managers failure on main
2025-08-27 10:11:33 -07:00
Matthew Zhou
564662e571
fix: Fix agent serialization tests ( #4193 )
...
Finish
2025-08-27 09:49:17 -07:00
cthomas
9e48f3675a
feat: add unit test for backgrounds filter [LET-4051] ( #4230 )
...
feat: add unit test for backgrounds filter
2025-08-27 09:40:57 -07:00
Kian Jones
de0abb091d
chore: pull in necessary changes to finish uv migration for oss ( #4237 )
...
pull in necessary changes to finish uv migration for oss
2025-08-27 00:05:43 -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
Sarah Wooders
cba85c0251
chore: bump version to 0.11.6 ( #4235 )
...
bump version
2025-08-26 21:16:14 -07:00
Sarah Wooders
3b7506557a
fix: remove trace methods [LET-4059] ( #4232 )
...
remove trace methods
2025-08-26 20:47:09 -07:00
Kian Jones
da14c6589f
feat: finish uv migration (oss + desktop) ( #4228 )
...
* migrate desktop and add sqlite as a hard dependency in desktop
* migrate oss dockerfile as well
2025-08-26 20:32:27 -07:00
Kian Jones
3b4bd5e43b
remove double dev ( #4227 )
2025-08-26 18:35:45 -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
3d62f14bac
feat: add gating to provider trace persistence in db ( #4223 )
...
* feat: make provider trace fetch result nullable
* feat: add flag for persisting provider trace to db
2025-08-26 15:58:26 -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
2f8a223c03
feat: add new llm client for deepseek [LET-4056] ( #4219 )
...
feat: add new llm client for deepseek
2025-08-26 15:14:09 -07:00
Kian Jones
64145ff0ec
chore: upgrade runner poetry and change npm nx commands to point to uv ( #4218 )
...
upgrade runner poetry and change npm nx commands to point to uv
2025-08-26 14:59:55 -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
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