Commit Graph

116 Commits

Author SHA1 Message Date
jnjpng
52b7895b16 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
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
Matthew Zhou
3126598720 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
20ac2923ff 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
4df4c5ea2e 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
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
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
Matthew Zhou
2fa546e15d chore: Move environment to settings [LET-4080] (#4265)
Move environment to settings
2025-08-27 14:52:35 -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
d53578f721 feat: introduce asyncio shield to stream response (#3992) 2025-08-18 17:11:19 -07:00
Andy Li
7d7a08e15c chore: clean up deprecated code 2025-08-15 13:56:49 -07:00
Andy Li
183c67c181 feat: typescript sandbox 2025-08-12 15:39:17 -07:00
Andy Li
63be7417cc chore: clean up tool rule solver code 2025-08-08 16:39:17 -07:00
jnjpng
b62955f0bf 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
1e9bf12820 chore: change keepalive default interval to 50 (#3693) 2025-07-31 17:48:23 -07:00
Matthew Zhou
06394b4821 feat: Add turbopuffer as dependency (#3655) 2025-07-30 11:37:48 -07:00
Andy Li
277c26a58e feat: modal sandbox 2025-07-30 11:25:40 -07:00
jnjpng
60a0a5264d 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
978f391c4b chore: bump keepalive to 90s (#3651) 2025-07-30 08:12:07 -07:00
Charles Packer
ce4e69cac6 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
b65c9ab6e8 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
1a6dfa8668 feat: profiling middleware 2025-07-25 13:12:59 -07:00
Andy Li
b2743e2454 feat: agent tags reverse index 2025-07-24 20:51:39 -07:00
Matthew Zhou
410cb24ba9 feat: Add timeout to file processing (#3513) 2025-07-24 10:53:13 -07:00
Andy Li
1590e4e3e6 chore: decrease pool logging 2025-07-22 14:54:22 -07:00
cthomas
94d0f74f0f feat: add db session task throttling (#3461) 2025-07-21 15:08:56 -07:00
cthomas
c85dca4ec8 feat: add gating around agent run cancellation (#3446) 2025-07-20 23:46:26 -07:00
Andy Li
905a9dd4bb chore: cleanup database detection 2025-07-18 17:12:56 -07:00
Andy Li
6debdeafba chore: default to uvloop 2025-07-18 12:48:36 -07:00
Andy Li
b7b678db4e feat: stop reasons and error messages and sentry fixes 2025-07-18 11:56:20 -07:00
Andy Li
5bdb18d55f feat: db pool otel metric emission 2025-07-15 15:56:39 -07:00
cthomas
d0c5cd5e45 chore: increase lock acquisiton retry interval (#3215) 2025-07-07 16:42:37 -07:00
Charles Packer
d81382b9fe refactor: revert the default summarizer to the old style (#3168) 2025-07-06 20:15:22 -07:00
Matthew Zhou
9605d1f79c feat: Add pinecone for cloud embedding (#3160) 2025-07-03 22:37:55 -07:00
Andy Li
6e279bb70c chore: bandaid for concurrent messages (#3144) 2025-07-02 17:44:13 -07:00
Andy Li
3654fa8c26 feat: expand summarizer providers 2025-07-01 15:07:38 -07:00
Andy Li
bfcd4c36a2 fix: redis connection on cloud (#2999) 2025-06-24 16:15:36 -07:00
Andy Li
343dbb5359 feat: timeout configuration for LLM clients + vertex (#2972) 2025-06-23 16:55:23 -07:00
cthomas
5cc180ee47 feat: rename aws env vars for bedrock (#2907)
Co-authored-by: Andy Li <55300002+cliandy@users.noreply.github.com>
2025-06-19 10:36:47 -07:00
Matthew Zhou
06ad51ba72 feat: Add built in firecrawl search tool (#2858) 2025-06-17 01:16:39 -07:00
Andy Li
bf7bd3b905 fix: metric tracking (#2785) 2025-06-13 13:53:10 -07:00
Sarah Wooders
f95d7d9f72 feat: default to False for mcp_read_from_config (#2691) 2025-06-06 16:28:27 -07:00
Andy Li
fe317068f6 feat: plugin system and backend runtime flags (#2543) 2025-06-05 18:12:44 -07:00
Andy Li
80f6e97ca9 feat: otel metrics and expanded collecting (#2647)
(passed tests in last run)
2025-06-05 17:20:14 -07:00
Andy Li
347825d2b3 feat: support for uvloop and granian (#2542) 2025-06-03 15:42:45 -07:00
cthomas
60cf3341b1 feat: add configurable batch size (#2573) 2025-06-01 12:01:51 -07:00
Matthew Zhou
9c44b9ae6a feat: Add mistral for cloud document parsing (#2562) 2025-05-30 21:06:28 -07:00
Sarah Wooders
0bed157f4a feat: add default handles via env vars (#2474) 2025-05-28 08:35:45 -07:00
Matthew Zhou
82659a0915 feat: Add lookback weeks parameter for batch polling (#2407) 2025-05-25 20:02:06 -07:00
Matthew Zhou
9bd08f946e feat: Add flag to disable/enable pooling on app level (#2310) 2025-05-21 11:59:21 -07:00