Kian Jones
f5c4ab50f4
chore: add ty + pre-commit hook and repeal even more ruff rules ( #9504 )
...
* auto fixes
* auto fix pt2 and transitive deps and undefined var checking locals()
* manual fixes (ignored or letta-code fixed)
* fix circular import
* remove all ignores, add FastAPI rules and Ruff rules
* add ty and precommit
* ruff stuff
* ty check fixes
* ty check fixes pt 2
* error on invalid
2026-02-24 10:55:11 -08:00
Kian Jones
6c377cdc81
chore(logs): Add resource usage logging to streaming, file uploads, mcp client, and model caches ( #5925 )
...
* adding log messages to track memory consumption
* add logging to sources, folders, agentfiles, and mcp clients
* memory logging for tool creation paths
2025-11-13 15:36:50 -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
Matthew Zhou
5593f1450b
feat: Double write to ToolCallMessage's new list tool_calls field ( #5268 )
...
* Add new tool_calls field to ToolCallMessage
* fern autogen
* Double write to new tool_calls field
* Update straggling instances
2025-10-09 13:20:52 -07:00
Matthew Zhou
caa3f8b28d
feat: Double write to ToolReturnMessage [LET-5332] ( #5266 )
...
Double write to ToolReturnMessage
2025-10-09 13:20:52 -07:00
Charles Packer
af62e22b76
fix: patch send message partial json extractor ( #2868 )
2025-09-13 12:52:13 -07:00
Charles Packer
c91daa7687
fix: patch missing double quote in interface ( #2828 )
2025-09-10 21:05:21 -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
Andy Li
595ef11221
fix: numerous tool execution bugs ( #2371 )
2025-05-23 18:02:15 -07:00
cthomas
d67c425532
test: add additional new agent messaging tests ( #2120 )
2025-05-12 15:58:52 -07:00
Charles Packer
8bb194541e
fix: make togetherai nebius xai etc usable via the openaiprovider ( #1981 )
...
Co-authored-by: Kevin Lin <klin5061@gmail.com >
Co-authored-by: Kevin Lin <kl2806@columbia.edu >
2025-05-09 10:50:55 -07:00
Andy Li
743cded046
fix: user messages on new agent loop are not processed in ADE (includes new json parser) ( #1934 )
2025-04-30 18:07:42 -07:00
cthomas
167c6a1d2e
fix: pydantic serializer warning datetime -> int ( #1701 )
2025-04-23 14:53:58 -07:00
Andy Li
fa89ad859e
feat: structured outputs for send_message ( #1764 )
2025-04-22 09:50:01 -07:00
cthomas
cd94962882
fix: anthropic streaming ( #1768 )
...
Co-authored-by: Kevin Lin <klin5061@gmail.com >
2025-04-17 16:22:14 -07:00
Kevin Lin
7169b5bf58
fix: reasoner messages mapped to source non reasoner ( #1736 )
2025-04-17 16:12:06 -07:00
Charles Packer
ee8e095b69
fix: patch gemini 2.5 pro ( #1643 )
...
Co-authored-by: Sarah Wooders <sarahwooders@gmail.com >
2025-04-09 18:35:53 -07:00
cthomas
42bfe08ce1
fix: use message idx instead of chunk idx for streaming ( #1587 )
2025-04-06 11:23:19 -07:00
cthomas
9458f40d05
feat: add otid field for message idempotency ( #1556 )
2025-04-04 08:43:01 -07:00
cthomas
261fd07b72
test: add more robust multi-agent testing ( #1444 )
2025-03-28 14:21:54 -07:00
cthomas
831f7d2f11
feat: add sonnet 3.7 support ( #1302 )
2025-03-24 16:36:16 -10:00
Matthew Zhou
fb2058068d
feat: Patch broken assistant messages for both Haiku and Sonnet ( #1252 )
2025-03-12 10:19:41 -07:00
Matthew Zhou
2a9a96a7ba
chore: Various updates and improvements ( #1247 )
...
Co-authored-by: Charles Packer <packercharles@gmail.com >
Co-authored-by: cthomas <caren@letta.com >
Co-authored-by: Shubham Naik <shubham.naik10@gmail.com >
Co-authored-by: Shubham Naik <shub@memgpt.ai >
Co-authored-by: mlong93 <35275280+mlong93@users.noreply.github.com >
Co-authored-by: Mindy Long <mindy@letta.com >
Co-authored-by: Kevin Lin <klin5061@gmail.com >
Co-authored-by: Stephan Fitzpatrick <stephan@knowsuchagency.com >
Co-authored-by: dboyliao <qmalliao@gmail.com >
Co-authored-by: Sarah Wooders <sarahwooders@gmail.com >
Co-authored-by: Jyotirmaya Mahanta <jyotirmaya.mahanta@gmail.com >
Co-authored-by: Nicholas <102550462+ndisalvio3@users.noreply.github.com >
Co-authored-by: tarunkumark <tkksctwo@gmail.com >
Co-authored-by: Miao <one.lemorage@gmail.com >
Co-authored-by: Krishnakumar R (KK) <65895020+kk-src@users.noreply.github.com >
Co-authored-by: Shubham Naik <shub@letta.com >
Co-authored-by: Will Sargent <will.sargent@gmail.com >
2025-03-11 14:46:45 -07:00
cthomas
a5c8e58f33
feat: add stdout and stderr in simulator ( #1195 )
2025-03-05 15:17:17 -08:00
Kevin Lin
98f0062416
feat: support deepseek models ( #821 )
...
Co-authored-by: Charles Packer <packercharles@gmail.com >
Co-authored-by: Sarah Wooders <sarahwooders@gmail.com >
Co-authored-by: Shubham Naik <shub@memgpt.ai >
Co-authored-by: Shubham Naik <shub@letta.com >
2025-02-18 15:28:01 -08:00
Matthew Zhou
8d765f286e
feat: Composio tools execute on-the-fly ( #999 )
2025-02-13 16:13:29 -08:00
Charles Packer
be0aa0d7d2
fix: add prefix fill support for Claude to try and boost haiku performance ( #958 )
2025-02-10 22:36:47 -08:00
Matthew Zhou
3cd3cd4f5f
fix: Robust new streaming interface for multi-agent tooling ( #907 )
2025-02-05 16:20:52 -05:00
mlong93
669e8c79af
feat: add anthropic streaming ( #716 )
...
Co-authored-by: Mindy Long <mindy@letta.com >
Co-authored-by: Charles Packer <packercharles@gmail.com >
2025-01-26 17:35:22 -08:00
cthomas
11d871785a
feat: add content union type for requests ( #762 )
2025-01-23 20:25:00 -08:00
Matthew Zhou
9a5d591515
feat: Use official OpenAI client ( #752 )
2025-01-23 15:45:06 -08:00
Charles Packer
0c5578ba03
fix: patch use_assistant_message flag on the server ( #704 )
...
Co-authored-by: Sarah Wooders <sarahwooders@gmail.com >
2025-01-20 13:17:45 -08:00
mlong93
18f06cd681
feat: new routes to gather a job's messages and usage statistics ( #564 )
...
Co-authored-by: Mindy Long <mindy@letta.com >
2025-01-12 12:36:10 -08:00
Matthew Zhou
5ad412881d
fix: Fix offline memory test ( #597 )
2025-01-10 17:25:54 -08:00
cthomas
ef271ca49c
fix: comment out done_gen and done_step tokens ( #504 )
2025-01-02 14:12:24 -08:00
Caren Thomas
7144fd2867
run black, add isort config to pyproject.toml
2024-12-26 19:43:11 -08:00
Caren Thomas
905906d416
run isort on apps/core
2024-12-26 19:27:09 -08:00
Shubham Naik
4cf354c033
fix: add tests to cypress
2024-12-23 14:44:08 -08:00
cthomas
a5b1aac1fd
fix: propagate error on tool failure ( #2281 )
...
Co-authored-by: Caren Thomas <caren@caren-mac.local >
2024-12-20 16:38:16 -08:00
cthomas
c183fc6b0e
feat: rename internal monologue ( #2289 )
2024-12-19 15:16:36 -08:00
cthomas
7d5be32a59
feat: rename function to tool in sdk ( #2288 )
...
Co-authored-by: Caren Thomas <caren@caren-mac.local >
2024-12-19 12:12:58 -08:00
Matthew Zhou
5a59d2ac42
feat: Separate out streaming route ( #2111 )
2024-11-27 14:03:46 -08:00
Charles Packer
a70dea15a4
fix: fix bug triggered by using ada embeddings ( #1915 )
2024-10-22 16:42:02 -07:00
Charles Packer
1a93b85bfd
feat: fix streaming put_inner_thoughts_in_kwargs ( #1913 )
2024-10-21 17:07:20 -07:00
Charles Packer
8a9e6dddd3
feat: add function IDs to LettaMessage function calls and response ( #1909 )
2024-10-19 21:47:48 -07:00
Charles Packer
b17246a3b0
feat: add back support for using AssistantMessage subtype of LettaMessage ( #1812 )
2024-10-04 15:36:33 -07:00
Sarah Wooders
8ae1e64987
chore: migrate package name to letta ( #1775 )
...
Co-authored-by: Charles Packer <packercharles@gmail.com >
Co-authored-by: Shubham Naik <shubham.naik10@gmail.com >
Co-authored-by: Shubham Naik <shub@memgpt.ai >
2024-09-23 09:15:18 -07:00