Commit Graph

122 Commits

Author SHA1 Message Date
Ari Webb
474f8c1f89 fix: in cloud don't give default actor [LET-6184] (#6218)
* fix: in cloud don't give default actor

* set in justfile

---------

Co-authored-by: Ari Webb <ari@letta.com>
2025-11-24 19:09:33 -08:00
Sarah Wooders
5730f69ecf feat: modal tool execution - NO FEATURE FLAGS USES MODAL [LET-4357] (#5120)
* initial commit

* add delay to deploy

* fix tests

* add tests

* passing tests

* cleanup

* and use modal

* working on modal

* gate on tool metadata

* agent state

* cleanup

---------

Co-authored-by: Letta Bot <noreply@letta.com>
2025-11-13 15:36:56 -08:00
Matthew Zhou
8df78e9429 feat: Move file upload to temporal [LET-6089] (#6024)
* Finish writing temporal upload file activity

* Remove prints

* Rewrite content re-use
2025-11-13 15:36:55 -08:00
Sarah Wooders
fd7c8193fe feat: remove chunking for archival memory [LET-6080] (#5997)
* feat: remove chunking for archival memory

* add error and tests
2025-11-13 15:36:55 -08:00
Kian Jones
704d3b2d79 chore: refactor not to use warnings.warn (#5730)
* refactor not to use warnings.warn

* temp circular import fix maybe unecessary/bnad

* fix Deprecation warning

* fix deprecation warning and mcp thing?

* revert changes to mcp server test

* fix deprecation warning
2025-10-24 15:14:31 -07:00
Kian Jones
705bb9d958 fix: support default empty (#5713)
support default empty
2025-10-24 15:14:20 -07:00
Kian Jones
1577a261d8 feat: add profiling and structured logging (#5690)
* test dd build

* dd agent in cluster

* quick poc

* refactor and add logging

* remove tracing etc.

* add changes to otel logging config

* refactor to accept my feedback

* finishing touches
2025-10-24 15:14:20 -07:00
Sarah Wooders
305bb8c8f7 feat: inject letta_client and agent_id into local sandbox (#5192) 2025-10-24 15:12:11 -07:00
Sarah Wooders
1edb21a652 feat: add letta_agent_v1 flag for docker image and some patches (#5081)
* feat: add letta_agent_v1 flag for docker image and some patches

* update build
2025-10-09 15:25:21 -07:00
Kian Jones
ade992d5ca refactor: remove letta prefix from sonnet (#5216)
* Refactor: Rename ANTHROPIC_SONNET_1M setting alias

Co-authored-by: kian <kian@letta.com>

* Refactor: Rename ANTHROPIC_SONNET_1M env var

Co-authored-by: kian <kian@letta.com>

---------

Co-authored-by: Cursor Agent <cursoragent@cursor.com>
2025-10-07 17:50:50 -07:00
cthomas
391ecdba6d feat: clean up settings file (#5210) 2025-10-07 17:50:50 -07:00
Sarah Wooders
e07a589796 chore: rm composio (#5151) 2025-10-07 17:50:49 -07:00
Charles Packer
07a687880f feat(core): add sonnet 1m support [LET-4620] (#5152)
feat(core): add sonnet 1m support
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
Charles Packer
811b3e6cb6 feat: allow customizing the handle base for openrouter and for vllm [LET-4609] (#5114)
* feat: allow setting VLLM_HANDLE_BASE

* feat: same thing for openrouter
2025-10-07 17:50:49 -07:00
Charles Packer
9edc7f4d64 feat: add OpenRouterProvider (#4848)
* feat: init add of openrouter provider, doesn't work bc no key pass and no header pass

* fix: working
2025-10-07 17:50:45 -07:00
Sarah Wooders
3b9d59d618 chore: revent db_max_concurrent_sessions (#4878) 2025-10-07 17:50:45 -07:00
Sarah Wooders
4df0a27eb0 chore: remove sync db (#4873) 2025-10-07 17:50:45 -07:00
Matthew Zhou
0ced006375 chore: set db_max_concurrent_sessions default to 48 (#4876)
set default to 48
2025-10-07 17:50:45 -07:00
Matthew Zhou
b27dec5ca5 chore: Bump pg pool timeout (#4870)
Bump pg pool timeout
2025-10-07 17:50:45 -07:00
Matthew Zhou
8395ec429a feat: Add flag for TLS (#4865)
Add flag for TLS
2025-10-07 17:50:45 -07:00
cthomas
ef9bac78ec chore: cleanup experimental flag (#4818) 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
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
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
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
cthomas
892667d633 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
Matthew Zhou
2af6049d6f 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
Matthew Zhou
b8a198688f feat: Embed all messages in turbopuffer [LET-4143] (#4352)
* wip

* Finish embedding

* Fix ruff and tests
2025-09-02 12:43:48 -07:00
jnjpng
c9c9e727b8 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
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
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
Matthew Zhou
13d8eae9ef chore: Move environment to settings [LET-4080] (#4265)
Move environment to settings
2025-08-27 14:52:35 -07:00
cthomas
07c155a1c2 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
eb472dc1e0 feat: introduce asyncio shield to stream response (#3992) 2025-08-18 17:11:19 -07:00
Andy Li
3364e92e10 chore: clean up deprecated code 2025-08-15 13:56:49 -07:00
Andy Li
e2e91c7260 feat: typescript sandbox 2025-08-12 15:39:17 -07:00
Andy Li
3183c7b3c1 chore: clean up tool rule solver code 2025-08-08 16:39:17 -07:00
jnjpng
243a2b65e0 fix: gemini 2.5 thinking models fail to call functions if thinking is fully disabled
Co-authored-by: Jin Peng <jinjpeng@Jins-MacBook-Pro.local>
2025-08-08 16:34:32 -07:00
cthomas
be17e77cd5 chore: change keepalive default interval to 50 (#3693) 2025-07-31 17:48:23 -07:00
Matthew Zhou
3ad790b642 feat: Add turbopuffer as dependency (#3655) 2025-07-30 11:37:48 -07:00
Andy Li
73e74270f4 feat: modal sandbox 2025-07-30 11:25:40 -07:00
jnjpng
24c9c0524b fix: oauth prod environment variables
Co-authored-by: Jin Peng <jinjpeng@Jins-MacBook-Pro.local>
2025-07-30 11:02:21 -07:00
Sarah Wooders
6ebbaed8c4 chore: bump keepalive to 90s (#3651) 2025-07-30 08:12:07 -07:00
Charles Packer
7348630486 feat: add keepalive wrapper to stream route (#3645)
Co-authored-by: Caren Thomas <carenthomas@gmail.com>
2025-07-29 22:53:38 -07:00
jnjpng
bd87f62b89 feat: redirect ouath callback through web for cloud
Co-authored-by: Jin Peng <jinjpeng@Jins-MacBook-Pro.local>
2025-07-29 17:36:30 -07:00
Andy Li
fe2e525ac9 feat: profiling middleware 2025-07-25 13:12:59 -07:00
Andy Li
1700cbeb4f feat: agent tags reverse index 2025-07-24 20:51:39 -07:00
Matthew Zhou
fecf6c0da7 feat: Add timeout to file processing (#3513) 2025-07-24 10:53:13 -07:00