Kian Jones
7b7b89ecfa
fix: fix alembic on main ( #6116 )
...
fix alembic on main
2025-11-13 15:36:56 -08:00
Kian Jones
78600fac23
chore: index suggestions from planetscale suggestions ( #6111 )
...
suggestions from ps dashboard
2025-11-13 15:36:56 -08:00
Sarah Wooders
982501f6fa
feat: create model table to persist available models ( #5835 )
...
---------
Co-authored-by: Ari Webb <arijwebb@gmail.com >
Co-authored-by: Ari Webb <ari@letta.com >
2025-11-13 15:36:56 -08:00
Kian Jones
e665768085
chore: alembic upgrade for step metrics run id index ( #6109 )
...
alembic upgrade for step metrics run id index
2025-11-13 15:36:56 -08:00
Kian Jones
ba19142669
fix: address high query latency with step id index on messages ( #6068 )
...
* add step id index on messages
* simple index
* fix sources padding
* fix import
* fix passage manager
* fix ci
* I think fixed
* disable turbopufer for managers to avoid failing passages tests
2025-11-13 15:36:56 -08:00
Christina Tong
ef3df907c5
feat: add last_stop_reason to AgentState [LET-5911] ( #5772 )
...
* feat: add last_stop_reason to AgentState [LET-5911]
* undo agent loop changes, use update_run_by_id_async
* add run manager test
* add integration tests
* remove comment
* remove duplicate test
2025-11-13 15:36:55 -08:00
Matthew Zhou
e7e86124f9
feat: Support embedding config on the archive [LET-5832] ( #5714 )
...
* Add embedding config field to archives
* Fix alembic script
* Simplify archive manager
* Fern autogen
* Fix failing tests
* Fix alembic
2025-10-24 15:14:21 -07:00
Ari Webb
c7c0d7507c
feat: add new mcp_servers routes [LET-4321] ( #5675 )
...
---------
Co-authored-by: Ari Webb <ari@letta.com >
Co-authored-by: Sarah Wooders <sarahwooders@gmail.com >
2025-10-24 15:14:21 -07:00
Ari Webb
abbd1b5595
Revert "feat: revise mcp tool routes [LET-4321]" ( #5652 )
...
Revert "feat: revise mcp tool routes [LET-4321] (#5631 )"
This reverts commit e15f120078652b2160d64a1e300317b95eccb163.
2025-10-24 15:13:47 -07:00
Ari Webb
747e7eae0e
feat: revise mcp tool routes [LET-4321] ( #5631 )
...
* start adding tools mapping
* ready to start testing new table migration
* alembic generated code
* just stage api
* small update
* integration tests
---------
Co-authored-by: Ari Webb <ari@letta.com >
2025-10-24 15:13:47 -07:00
Christina Tong
79f49c33d8
feat: add tool_used field to run_metrics [LET-5419] ( #5540 )
...
* feat: add tool_used field to run_metrics [LET-5419]
* change to tool name
* use tool ids over names
* add generated files
* chore: update OpenAPI schema to include tools_used field in RunMetrics
* update alembic file
2025-10-24 15:12:11 -07:00
Matthew Zhou
ddd1686ad1
feat: Add flag to tools to signify if they are race safe [LET-5611] ( #5548 )
...
* wip add race unsafe param
* Alembic migration
* Fern autogen
* Set default to True
* Adjust fern
* Rename field
* Run fern autogen
* Add enable_parallel_execution to Tool Create and Update
2025-10-24 15:12:11 -07:00
jnjpng
fea13051e6
feat: backfill providers, sandbox_environment_variables, mcp_oauth *_enc columns [LET-5458] ( #5382 )
...
* base
* remove print
---------
Co-authored-by: Letta Bot <noreply@letta.com >
2025-10-24 15:11:31 -07:00
cthomas
1c80e1c11f
feat: add approvals persistence to message orm ( #5309 )
...
* feat: add approvals persistence to message orm
* fix imports in alembic migration
* missing import
2025-10-24 15:11:31 -07:00
cthomas
9cb5156ac7
chore: sync 0.12.0 version ( #3023 )
...
Co-authored-by: Matthew Zhou <mattzh1314@gmail.com >
Co-authored-by: Kian Jones <11655409+kianjones9@users.noreply.github.com >
Co-authored-by: Sarah Wooders <sarahwooders@gmail.com >
2025-10-08 16:10:51 -07:00
Matthew Zhou
932b418681
feat: Add FK cascades, remove app-side label propagation [LET-4690] ( #5219 )
...
add FK cascades, remove app-side label propagation
2025-10-07 17:50:50 -07:00
jnjpng
7930bfeb0b
feat: add encrypted columns for providers, sandbox/agent variables, mcp auth code [LET-4246] ( #5187 )
...
add encrypted columns
Co-authored-by: Letta Bot <noreply@letta.com >
2025-10-07 17:50:49 -07:00
Sarah Wooders
4168506dd2
feat: replace composite runs index to not include is_err ( #5177 )
2025-10-07 17:50:49 -07:00
Sarah Wooders
e07a589796
chore: rm composio ( #5151 )
2025-10-07 17:50:49 -07:00
Sarah Wooders
300c32456e
feat: add composite message index and reduce pool timeout ( #5156 )
2025-10-07 17:50:49 -07:00
Sarah Wooders
65b33ae27f
feat: add index for run_id on messages and project_id on agents ( #5117 )
2025-10-07 17:50:49 -07:00
Sarah Wooders
354205f581
feat: create new runs table [LET-4467] ( #4841 )
2025-10-07 17:50:47 -07:00
Charles Packer
d748d86059
feat: add more indexes ( #4849 )
2025-10-07 17:50:45 -07:00
Sarah Wooders
a952a1266b
feat: add various indexes ( #4811 )
2025-10-07 17:50:44 -07:00
Sarah Wooders
c85bfefa52
feat: add agents_runs table ( #4768 )
2025-10-07 17:50:44 -07:00
Kian Jones
b8e9a80d93
merge this ( #4759 )
...
* wait I forgot to comit locally
* cp the entire core directory and then rm the .git subdir
2025-09-17 15:47:40 -07:00
Kian Jones
22f70ca07c
chore: officially migrate to submodule ( #4502 )
...
* remove apps/core and apps/fern
* fix precommit
* add submodule updates in workflows
* submodule
* remove core tests
* update core revision
* Add submodules: true to all GitHub workflows
- Ensure all workflows can access git submodules
- Add submodules support to deployment, test, and CI workflows
- Fix YAML syntax issues in workflow files
🤖 Generated with [Claude Code](https://claude.ai/code )
Co-Authored-By: Claude <noreply@anthropic.com >
* remove core-lint
* upgrade core with latest main of oss
---------
Co-authored-by: Claude <noreply@anthropic.com >
2025-09-09 12:45:53 -07:00
Matthew Zhou
ee63c59682
feat: Fix alembic migration for vector db type on sources for pg8000 driver ( #4482 )
...
Add commit after as well
2025-09-08 19:50:49 -07:00
Matthew Zhou
6aa2a92537
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
cthomas
57e69a35bc
feat: add step checkpointing for progress tracking ( #4458 )
...
* feat: add step checkpointing for progress tracking
* openapi sync
2025-09-08 10:30:44 -07:00
Shubham Naik
eb21668f35
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
Matthew Zhou
29502ac3aa
feat: Add association for the vector namespace [LET-4148] ( #4354 )
...
Add association for the namespace
2025-09-02 13:21:42 -07:00
cthomas
315d07568b
feat: handle message persistence for approvals flows ( #4338 )
2025-09-01 14:10:02 -07:00
Kian Jones
fecf6decfb
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
Matthew Zhou
c1f8c48818
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
e3d3bc09eb
feat: add new default_requires_approval flag on tools ( #4287 )
2025-08-28 15:38:59 -07:00
Matthew Zhou
d797296032
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
cthomas
3e6a223d17
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
Sarah Wooders
250d8b8006
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
cthomas
78cfb4902d
feat: add azure byok ( #3884 )
2025-08-12 15:50:00 -07:00
jnjpng
fb4aecd408
feat: add step metrics table
...
Co-authored-by: Jin Peng <jinjpeng@Jins-MacBook-Pro.local >
2025-08-07 17:51:39 -07:00
Matthew Zhou
617ec9e87b
feat: Add comprehensive error tracking to steps table ( #3765 )
2025-08-06 20:19:29 -07:00
Andy Li
ca6f474c4e
feat: track metrics for runs in db
2025-08-06 15:46:50 -07:00
Andy Li
7a504c2702
feat: npm requirements for tools
2025-08-04 14:15:10 -07:00
cthomas
b4810633af
chore: deprecate orm enum file ( #3724 )
2025-08-04 11:59:55 -07:00
cthomas
18e11f53af
feat: groups support for agentfile ( #3721 )
2025-08-04 11:02:00 -07:00
Matthew Zhou
3d43984f17
fix: Do the CTE in postgres via agent id join ( #3717 )
2025-08-03 01:58:31 -07:00
Matthew Zhou
db825b6053
fix: Fix duplicate agents archives relationship migration error ( #3716 )
2025-08-03 01:45:27 -07:00
Matthew Zhou
23c179eaf1
fix: Remove bad unique constraint on archives ( #3715 )
2025-08-03 01:33:14 -07:00
Matthew Zhou
789604a941
feat: Modify alembic migration archival sharing ( #3710 )
2025-08-02 17:58:45 -07:00