Commit Graph

76 Commits

Author SHA1 Message Date
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
2fa546e15d chore: Move environment to settings [LET-4080] (#4265)
Move environment to settings
2025-08-27 14:52:35 -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
Charles Packer
20c1bd316f fix: allow for send_message to be unterminated if the user requests it (#4169) 2025-08-25 21:11:14 -07:00
cthomas
395faf3ed8 feat: add prompt generator for on the fly system prompt generation (#4060) 2025-08-20 15:49:40 -07:00
Andy Li
7ae52f418a docs: update for manager funcs 2025-08-15 13:55:10 -07:00
Sarah Wooders
20a857b900 chore: remove legacy embeddings (#3846) 2025-08-12 15:11:09 -07:00
cthomas
13c916afaa feat: offload jinja to threadpool LET-3615 (#3787) 2025-08-06 16:34:28 -07:00
cthomas
21f0373b45 feat: remove redundant memory compilation in agent step (#3785) 2025-08-06 15:46:18 -07:00
Matthew Zhou
25086518cd feat: Implement archival sharing (#3689) 2025-08-01 23:34:49 -07:00
cthomas
c95f865632 fix: voice endpoint null check (#3690) 2025-07-31 16:11:23 -07:00
cthomas
8919f06b67 feat: convert compile system prompt to async (#3685) 2025-07-31 15:49:59 -07:00
jnjpng
de3c99d7f5 fix: lmstudio support for qwen and llama
Co-authored-by: Jin Peng <jinjpeng@Jins-MacBook-Pro.local>
Co-authored-by: Charles Packer <packercharles@gmail.com>
2025-07-29 15:57:20 -07:00
Kevin Lin
d4a63a1826 feat: add max files and file open window to system prompt (#3515) 2025-07-23 17:05:53 -07:00
Matthew Zhou
29573e4d3f feat: Add per-agent file management controls with context-aware defaults (#3467) 2025-07-22 10:43:37 -07:00
Charles Packer
4ed392b99b fix: don't include archival memory metadata summary unless something is in it (#3179) 2025-07-21 15:50:51 -07:00
cthomas
8aa418a35a feat: only load specified relationships for agents (#3438) 2025-07-20 22:11:46 -07:00
cthomas
cadc040f42 feat: remove organization from pydantic message model (#3411) 2025-07-19 09:28:54 -07:00
Andy Li
905a9dd4bb chore: cleanup database detection 2025-07-18 17:12:56 -07:00
Kian Jones
f4659c9e01 feat(sqlite): CI Tests for Alembic and SQLite (#3358)
Co-authored-by: Matt Zhou <mattzh1314@gmail.com>
2025-07-17 18:04:13 -07:00
Matthew Zhou
c6ff04b4da feat: Integrate performant validate_agent_exists_async (#3350) 2025-07-15 17:15:33 -07:00
Matthew Zhou
fc07b2b2c2 fix: Add comprehensive testing for tool creation paths (#3255) 2025-07-09 15:51:50 -07:00
Kevin Lin
29ce769549 feat: replace file descriptions with per data source description (#3067)
Co-authored-by: Matt Zhou <mattzh1314@gmail.com>
2025-07-01 11:51:52 -07:00
Matthew Zhou
b802b22513 feat: Add back multi agent tools and protections for cloud (#3100) 2025-06-29 22:45:39 -07:00
Matthew Zhou
07d53f69da feat: Exclude archival tools on new agent creation (#3072) 2025-06-27 14:10:17 -07:00
Charles Packer
4783b0591c feat: add workflow and react agent types (#3006)
Co-authored-by: Matthew Zhou <mattzh1314@gmail.com>
2025-06-26 16:12:31 -07:00
Sarah Wooders
2e06feafbf fix: add more timezone fixes (#3025) 2025-06-25 14:51:37 -07:00
Charles Packer
25fd99ff79 fix: added proper newlines to the rules (#2940) 2025-06-24 17:45:57 -07:00
Sarah Wooders
10cdbf2ea4 feat: add ability to configure agent timezone (#2978)
Co-authored-by: Kian Jones <kian@letta.com>
2025-06-24 12:57:37 -07:00
Matthew Zhou
4996447326 feat: Add async support for local/e2b sandbox (#2981) 2025-06-23 19:47:19 -07:00
Andy Li
343dbb5359 feat: timeout configuration for LLM clients + vertex (#2972) 2025-06-23 16:55:23 -07:00
jnjpng
6889835bd7 fix: fix null precedence and pagination for list agents (#2927)
Co-authored-by: Jin Peng <jinjpeng@Jins-MacBook-Pro.local>
2025-06-20 21:43:34 +00:00
jnjpng
951ea59b30 feat: add last run completion and duration db columns to agents (#2903)
Co-authored-by: Jin Peng <jinjpeng@Jins-MacBook-Pro.local>
2025-06-19 01:31:17 +00:00
Matthew Zhou
b6affd1a16 feat: Add optional pip requirements to tool object (#2793) 2025-06-13 13:20:36 -07:00
Matthew Zhou
ba3d59bba5 feat: Add prompting to guide tool rule usage (#2742) 2025-06-10 16:21:27 -07:00
Matthew Zhou
318a7c769b feat: Search files returns citations of the filenames that were searched (#2689) 2025-06-06 15:34:03 -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
Matthew Zhou
8ae9f6369b feat: Implement search files (#2645) 2025-06-04 20:23:04 -07:00
Kevin Lin
bd27718a17 feat: remove recent passages and data source alert (#1887)
Co-authored-by: Charles Packer <packercharles@gmail.com>
Co-authored-by: Matt Zhou <mattzh1314@gmail.com>
2025-06-02 10:55:03 -07:00
Matthew Zhou
285acd0324 feat: Add summarization for more scenarios (#2499) 2025-05-29 11:10:13 -07:00
Andy Li
c54447a985 feat: insert heartbeat dynamically and remove from stored json (#2501) 2025-05-29 10:29:05 -07:00
cthomas
982cf0c6fe feat: add tracing to streaming interface (#2477) 2025-05-27 16:20:05 -07:00
Andy Li
9640dbf09b perf: agent tags optimization (#2454) 2025-05-27 15:14:07 -07:00
cthomas
790d00ac75 feat(asyncify): migrate tools (#2427) 2025-05-25 22:17:01 -07:00
Charles Packer
5fd1ec3dee feat: new version of the base agent with a better system prompt and new tools (#2325) 2025-05-24 21:23:29 -07:00
Andy Li
595ef11221 fix: numerous tool execution bugs (#2371) 2025-05-23 18:02:15 -07:00
Andy Li
0a54b998a8 feat: track llm provider traces and tracking steps in async agent loop (#2219) 2025-05-19 15:50:56 -07:00
cthomas
c727f999b4 feat: convert agents routes to async (#2196) 2025-05-15 13:39:59 -07:00
Shangyin Tan
cd508cbb6b fix: allow initial_message_sequence to have assistant message (#1729)
Co-authored-by: Sarah Wooders <sarahwooders@gmail.com>
Co-authored-by: Kevin Lin <kl2806@columbia.edu>
Co-authored-by: Kevin Lin <klin5061@gmail.com>
2025-04-29 14:42:34 -07:00
Matthew Zhou
bb1e0464fd feat: Adjust prompts and integrate voice sleeptime group into agent manager (#1927) 2025-04-29 13:43:59 -07:00