Commit Graph

1788 Commits

Author SHA1 Message Date
cthomas
5166ab2f86 feat: only update job metadata when flag is set (#4824) 2025-10-07 17:50:45 -07:00
cthomas
f760eaf394 feat: log client in otel (#4821) 2025-10-07 17:50:44 -07:00
cthomas
ef9bac78ec chore: cleanup experimental flag (#4818) 2025-10-07 17:50:44 -07:00
cthomas
232da24f7f fix: missing import for cancel (#4819) 2025-10-07 17:50:44 -07:00
Sarah Wooders
a952a1266b feat: add various indexes (#4811) 2025-10-07 17:50:44 -07:00
cthomas
076c56a0a5 feat: add feature flag for new message async logic (#4805)
* feat: add feature flag for new message async logic

* remove from api sync
2025-10-07 17:50:44 -07:00
cthomas
a605271846 fix: flip tls flag (#4806) 2025-10-07 17:50:44 -07:00
Matthew Zhou
678350a6f2 feat: Pass through agent_state and patch bugs [LET-4456] (#4800)
* Pass through agent state

* temp

* Patch bugs

* Add todo for jin
2025-10-07 17:50:44 -07:00
Matthew Zhou
7ca6aba229 feat: Remove last accessed at default factory (#4795)
Remove default factory on file blocks
2025-10-07 17:50:44 -07:00
Sarah Wooders
46ba8789b7 fix: patch issue with run listing (#4793)
* fix: patch issue with run listing

* another fix
2025-10-07 17:50:44 -07:00
Matthew Zhou
81bb131afb feat: Calculate remaining turns [LET-4453] (#4789)
Calculate remaining turns
2025-10-07 17:50:44 -07:00
cthomas
ee39b2bff2 feat: ensure temporal is hit through fastapi (#4784)
feat: ensure temporal works end-to-end
2025-10-07 17:50:44 -07:00
Matthew Zhou
41e1f01659 feat: Factor our approval parsing logic (#4782)
Factor our approval parsing logic
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
cthomas
00292363c4 feat: add additional e2b debug logging (#4772) 2025-10-07 17:50:43 -07:00
cthomas
992f94da4b feat: integrate temporal into letta (#4766)
* feat: integrate temporal into letta

* use fire and forget, set up cancellation and job status checking
2025-10-07 17:50:43 -07:00
Shubham Naik
55b1e43e0c feat: support creating entities from template (#4414)
* chore

* chore

* chir

* chir

* feat: support creating entites from template

* chire

* chore: next

* chore: next

* chore: next

* chore: next

* chore: next

* next

* next

* bump

* chore: nope

* choe

* choe

* feat: migrated

* feat: migrated

* chore update

* chore: next

---------

Co-authored-by: Shubham Naik <shub@memgpt.ai>
2025-10-07 17:50:43 -07:00
jnjpng
39a8959989 feat: _handle_ai_response activity skeleton (#4760)
* base

* skeleton

* TODO

* unpack

* unpack

* cleanup

* cleanup

* merge

---------

Co-authored-by: Letta Bot <noreply@letta.com>
2025-10-07 17:50:43 -07:00
Matthew Zhou
a3925e6a7b feat: Add get valid tools helper pure function [LET-4439] (#4771)
Add get valid tools helper function
2025-10-07 17:50:43 -07:00
Matthew Zhou
2c89b24021 feat: Scaffold pre-handle ai response activities (#4765)
* Scaffold pre handle ai response activities

* workflow specific timeouts
2025-09-17 17:53:53 -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
cthomas
48b5722095 fix: missing actor in sleeptime loop (#4498) 2025-09-09 00:43:04 -07:00
cthomas
2281c52de3 feat: conditionally record step metrics (#4497) 2025-09-09 00:35:03 -07:00
cthomas
6cb12b7f66 feat: handle streaming for hitl in new agent loop (#4496) 2025-09-09 00:27:44 -07:00
cthomas
c60683c5a0 feat: add check before logging step metrics (#4495) 2025-09-09 00:02:21 -07:00
cthomas
efe34c9db3 fix: async generator return type (#4494) 2025-09-08 23:44:19 -07:00
cthomas
517e25ea2a fix: add llm adapter to build request method (#4493) 2025-09-08 23:38:59 -07:00
cthomas
f41f561a38 feat: always break when step is finished (#4492) 2025-09-08 23:37:36 -07:00
cthomas
9d7dd6acd8 test: skip step stream error case temporarily (#4491) 2025-09-08 23:27:07 -07:00
cthomas
4b366525bf feat: break out of summary retry loop when no exception (#4490) 2025-09-08 23:20:10 -07:00
cthomas
4b9175afd3 fix: use id instead of step id for metrics (#4489) 2025-09-08 22:54:43 -07:00
cthomas
2aabb15e97 feat: add template id to create message (#4488) 2025-09-08 22:53:18 -07:00
cthomas
e7d3d34899 fix: add range to for loop (#4487) 2025-09-08 22:43:33 -07:00
cthomas
f00453c152 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
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
516f2963e0 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
0f383ed776 feat: Add error handling callback [LET-4258] (#4481)
Add error handling callback
2025-09-08 18:45:03 -07:00
Matthew Zhou
deb30dc616 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
62092ecc7e feat: add summarization retry to new agent loop (#4477) 2025-09-08 17:41:48 -07:00
Matthew Zhou
0eed3722cc feat: Robustify openai embedding [LET-4256] (#4478)
* Robustify embedding

* Remove unecessary imports

* Add test embeddings
2025-09-08 17:18:54 -07:00
cthomas
92671336c5 chore: bump sdk client version (#4474) 2025-09-08 16:51:19 -07:00
cthomas
6af707f3dd feat: add error handling parity to new agent loop (#4471) 2025-09-08 16:35:24 -07:00
cthomas
4e6d2cba89 feat: consolidate stream methods for new agent loop (#4468) 2025-09-08 15:20:36 -07:00
jnjpng
1d0e49ad3b 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
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
jnjpng
a14bc841ce feat: add secret encryption keys [LET-3662]
* base

* add to apps/core

---------

Co-authored-by: Letta Bot <noreply@letta.com>
2025-09-08 14:52:20 -07:00
Matthew Zhou
acaf820009 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
74e08f038e 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
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