Commit Graph

32 Commits

Author SHA1 Message Date
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
25d54dd896 chore: enable F821, F401, W293 (#9503)
* auto fixes

* auto fix pt2 and transitive deps and undefined var checking locals()

* manual fixes (ignored or letta-code fixed)

* fix circular import
2026-02-24 10:55:08 -08: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
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
57526bf7d6 feat: Add max_steps parameter to agent export (#3828) 2025-08-08 13:38:29 -07:00
cthomas
2b0dc4a1f9 feat: remove organization from tool pydantic schema (#3430) 2025-07-20 00:00:31 -07:00
cthomas
1ad3ebd934 feat: remove organization from blocks pydantic schema (#3428) 2025-07-19 23:42:19 -07:00
cthomas
7a37557bb9 feat: remove organization from agents pydantic schema (#3426) 2025-07-19 22:47:32 -07:00
cthomas
96df26fdfe feat: remove groups selectin on blocks model (#3423) 2025-07-19 22:03:22 -07:00
cthomas
1c3275b3c9 feat: remove batch items selectin from agents model (#3422) 2025-07-19 21:59:40 -07:00
cthomas
810628acd9 feat: remove organization from pydantic message model (#3411) 2025-07-19 09:28:54 -07:00
cthomas
0a615a7b0e fix: add content parts support to agent file export (#3013) 2025-06-25 02:46:31 -07:00
Andy Li
600ccb35e7 feat: async db client (#2076) 2025-05-12 17:15:14 -07:00
Matthew Zhou
a6977c0cfe fix: Remove extraneous relationships on ORM objects (#1755) 2025-04-17 14:37:37 -07:00
Matthew Zhou
54206ad643 fix: Fix message_id ordering in agent serialization (#1458) 2025-03-28 15:13:33 -07:00
Matthew Zhou
612956a28c feat: Change in context message remapping (#1448)
Co-authored-by: Sarah Wooders <sarahwooders@gmail.com>
Co-authored-by: Shubham Naik <shub@letta.com>
Co-authored-by: Shubham Naik <shub@memgpt.ai>
Co-authored-by: Charles Packer <packercharles@gmail.com>
2025-03-28 11:50:25 -07:00
Sarah Wooders
365273bc89 feat: hide keys in agent file (#1445) 2025-03-27 17:21:03 -07:00
Sarah Wooders
9369e14696 fix: fix message ordering for agent file and only support in-context messages (#1403) 2025-03-27 15:23:47 -07:00
Sarah Wooders
a95a5d6f9e fix: fix tool rule serialization for rules with extra fields getting dropped (#1441) 2025-03-27 14:54:13 -07:00
Sarah Wooders
d6cfeae913 feat: remove identities from .af (#1388) 2025-03-24 21:57:52 -07:00
Sarah Wooders
08218112d1 fix: patch agent export by making description optional (#1369) 2025-03-23 15:39:09 -07:00
Matthew Zhou
8f91a19332 feat: Add metadata_ field to Tool (#1321) 2025-03-17 17:14:08 -07:00
cthomas
d8966d8c7e feat: add content parts to message schema (#1273)
Co-authored-by: Matt Zhou <mattzh1314@gmail.com>
2025-03-13 18:43:32 -07:00
Matthew Zhou
f1605253be feat: Make pydantic serialized agent object (#1278)
Co-authored-by: Caren Thomas <caren@letta.com>
2025-03-13 17:50:19 -07:00
Sarah Wooders
976f90139f feat: properly scrub ids from serialized schemas and add version (#1258)
Co-authored-by: Matt Zhou <mattzh1314@gmail.com>
2025-03-13 16:18:50 -07:00
Matthew Zhou
021e28a98e feat: Add query parameter for project ID on /upload route and adapt tests (#1210) 2025-03-06 15:44:12 -08:00
Matthew Zhou
36dc35e5f9 feat: Serialize tags on agents (#1199) 2025-03-05 14:14:27 -08:00
Matthew Zhou
5f51a0c71d feat: Add agent environment variable serialization (#1198) 2025-03-05 13:59:34 -08:00
Matthew Zhou
08ab7ce520 feat: Add blocks and tools to agent serialization (#1187) 2025-03-04 15:31:50 -08:00
Matthew Zhou
b5e09536ae feat: Serialize agent state simple fields and messages (#1012) 2025-02-18 11:01:10 -08:00