Commit Graph

62 Commits

Author SHA1 Message Date
Christina Tong
ef3df907c5 feat: add last_stop_reason to AgentState [LET-5911] (#5772)
* feat: add last_stop_reason to AgentState [LET-5911]

* undo agent loop changes, use update_run_by_id_async

* add run manager test

* add integration tests

* remove comment

* remove duplicate test
2025-11-13 15:36:55 -08:00
Sarah Wooders
cfeed463a9 Revert "feat: provider-specific model configuration " (#5873)
Revert "feat: provider-specific model configuration  (#5774)"

This reverts commit 34a334949a3ef72cd49ff0ca3da9e85d16daa57c.
2025-11-13 15:36:20 -08:00
Sarah Wooders
aaa12a393c feat: provider-specific model configuration (#5774)
* initial code updates

* add models

* cleanup

* support overriding

* add apis

* cleanup reasoning interfaces to match models

* update schemas

* update apis

* add new field

* remove parallel

* various fixes

* modify schemas

* fix

* fix

* make model optional

* undo model schema change

* update schemas

* update schemas

* format

* fix tests

* attempt to patch web

* fic docs

* change schemas

* update error

* fix tests

* delete tests

* clean up undefined matching conditional

---------

Co-authored-by: jnjpng <jin@letta.com>
Co-authored-by: Letta Bot <noreply@letta.com>
2025-11-13 15:36:14 -08:00
cthomas
5e43291436 feat: remove relationship fields on identities (#5691) 2025-10-24 15:14:09 -07:00
cthomas
afdf0f80e3 feat: add backend support for agent relationship loads (#5693) 2025-10-24 15:14:09 -07:00
cthomas
681f842adb fix: identity greenlet bug (#5678) 2025-10-24 15:13:47 -07:00
cthomas
c3c38f2713 feat: rename multi agent group to managed group [LET-5799] (#5672)
feat: rename multi agent group to managed group
2025-10-24 15:13:47 -07:00
cthomas
14faa27869 feat: replace agent.identity_ids with agent.identities [LET-5803] (#5673)
feat: replace agent.identity_ids with agent.identities
2025-10-24 15:13:47 -07:00
cthomas
beaeddf54d feat: add new blocks field to agent model and deprecate memory field [LET-4424] (#5613)
feat: add new blocks field to agent model and deprecate memory field
2025-10-24 15:13:15 -07:00
Sarah Wooders
65b33ae27f feat: add index for run_id on messages and project_id on agents (#5117) 2025-10-07 17:50:49 -07:00
Sarah Wooders
354205f581 feat: create new runs table [LET-4467] (#4841) 2025-10-07 17:50:47 -07:00
Charles Packer
d748d86059 feat: add more indexes (#4849) 2025-10-07 17:50:45 -07:00
Sarah Wooders
c85bfefa52 feat: add agents_runs table (#4768) 2025-10-07 17:50:44 -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
Matthew Zhou
29502ac3aa feat: Add association for the vector namespace [LET-4148] (#4354)
Add association for the namespace
2025-09-02 13:21:42 -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
Sarah Wooders
250d8b8006 feat: add cloud template fields to blocks/groups/agents [LET-3979]
* commit

* fix tests

* add routes

* remove old fields

* remove entity from group

* generate, migrate

* update

* keep from_template, etc.

* keep block fields

* final

* generate

* pass tests

* generate

* keep defaults

---------

Co-authored-by: jin <jin@letta.com>
2025-08-26 23:17:06 -07:00
Matthew Zhou
10f6f1d247 feat: Implement archival sharing (#3689) 2025-08-01 23:34:49 -07:00
Shubham Naik
ccd36dd755 feat: add not_indexable property to agents (#3653)
Co-authored-by: Shubham Naik <shub@memgpt.ai>
2025-07-30 17:09:36 -07:00
Andy Li
1959109821 feat: support for project_id and backfills 2025-07-25 13:06:12 -07:00
Matthew Zhou
e62ddf8355 feat: Add per-agent file management controls with context-aware defaults (#3467) 2025-07-22 10:43:37 -07:00
cthomas
9c1ec9782c feat: remove groups selectin from agents model (#3429) 2025-07-19 23:45:59 -07:00
cthomas
7a37557bb9 feat: remove organization from agents pydantic schema (#3426) 2025-07-19 22:47:32 -07:00
cthomas
1c3275b3c9 feat: remove batch items selectin from agents model (#3422) 2025-07-19 21:59:40 -07:00
cthomas
eb6f11fc6f fix: sync files loading on event loop (#3327) 2025-07-15 00:44:22 -07:00
Kevin Lin
f2f25d3bac 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
Sarah Wooders
912766141b chore: add back timezone tests (#3011)
Co-authored-by: Andy Li <55300002+cliandy@users.noreply.github.com>
2025-06-25 15:12:21 -07:00
Sarah Wooders
366de63d4d fix: add more timezone fixes (#3025) 2025-06-25 14:51:37 -07:00
Sarah Wooders
2feaac398f fix: fix timezone setting and add client tests (#2997) 2025-06-24 17:49:54 -07:00
Sarah Wooders
4deb6e17a9 feat: add ability to configure agent timezone (#2978)
Co-authored-by: Kian Jones <kian@letta.com>
2025-06-24 12:57:37 -07:00
jnjpng
66a8c7e583 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
Kevin Lin
d0519437af feat: display file blocks with xml tags (#2559)
Co-authored-by: Matt Zhou <mattzh1314@gmail.com>
2025-06-03 13:52:29 -07:00
cthomas
00c37b4502 feat: optimize agent load (#2507) 2025-05-28 23:15:20 -07:00
cthomas
bedc05d95c feat: move groups join on agents to selectin (#2475) 2025-05-27 16:11:49 -07:00
cthomas
0a4b0ff60b feat: convert agents routes to async (#2196) 2025-05-15 13:39:59 -07:00
Andy Li
0381da35f5 feat: structured outputs for send_message (#1764) 2025-04-22 09:50:01 -07:00
Matthew Zhou
a6977c0cfe fix: Remove extraneous relationships on ORM objects (#1755) 2025-04-17 14:37:37 -07:00
Kevin Lin
1cd26d0199 feat: prompt tune rethink with current default tools without anthropic view / str edit (#1709)
Co-authored-by: cpacker <packercharles@gmail.com>
Co-authored-by: Caren Thomas <carenthomas@gmail.com>
2025-04-17 11:53:18 -07:00
Matthew Zhou
38d35aad52 feat: Create batch request tracking tables (#1604) 2025-04-07 16:27:18 -07:00
cthomas
860f8707cf feat: enable sleeptime agent creation (#1523) 2025-04-02 14:12:11 -07:00
Matthew Zhou
ab0a74ebc3 feat: Make agent listing more performant (#1270) 2025-03-13 14:36:33 -07:00
cthomas
5304831a8e feat: multi-agent (#1243) 2025-03-12 22:51:55 -07:00
cthomas
31130a6d28 feat: make identities many to many (#1085) 2025-02-20 16:33:24 -08:00
Shubham Naik
6a55c98205 Fix args 1 (#1070)
Co-authored-by: Shubham Naik <shub@memgpt.ai>
2025-02-19 16:34:18 -08:00
Sarah Wooders
72875c7f63 feat: add "always continue" tool rule and configure default tool rules (#1033)
Co-authored-by: Shubham Naik <shub@letta.com>
2025-02-19 14:46:37 -08:00
cthomas
85a043c11e feat: add identifier key to agents (#1043)
same as https://github.com/letta-ai/letta-cloud/pull/1004
2025-02-18 16:06:09 -08:00
cthomas
b4bb5a5cc3 feat: add identites to ORM (#1003) 2025-02-17 09:21:53 -08:00
Matthew Zhou
ca43ffb474 feat: Add message_buffer_autoclear field to Agent (#978) 2025-02-12 15:06:56 -08:00
Matthew Zhou
de6193746b fix: Remove terminal tool rules for 2 of the multi agent tools (#888) 2025-02-03 18:59:34 -05:00