Commit Graph

27 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
b529b1e4fa feat: Add max_steps parameter to agent export (#3828) 2025-08-08 13:38:29 -07:00
cthomas
13994d779b feat: remove organization from tool pydantic schema (#3430) 2025-07-20 00:00:31 -07:00
cthomas
b0e8fa6d4d feat: remove organization from blocks pydantic schema (#3428) 2025-07-19 23:42:19 -07:00
cthomas
ad71ccfdc7 feat: remove organization from agents pydantic schema (#3426) 2025-07-19 22:47:32 -07:00
cthomas
3490946766 feat: remove groups selectin on blocks model (#3423) 2025-07-19 22:03:22 -07:00
cthomas
2e07e631cf feat: remove batch items selectin from agents model (#3422) 2025-07-19 21:59:40 -07:00
cthomas
cadc040f42 feat: remove organization from pydantic message model (#3411) 2025-07-19 09:28:54 -07:00
cthomas
a294949354 fix: add content parts support to agent file export (#3013) 2025-06-25 02:46:31 -07:00
Andy Li
8e2417aa2f feat: async db client (#2076) 2025-05-12 17:15:14 -07:00
Matthew Zhou
748e8d6837 fix: Remove extraneous relationships on ORM objects (#1755) 2025-04-17 14:37:37 -07:00
Matthew Zhou
60ffc9e8ec fix: Fix message_id ordering in agent serialization (#1458) 2025-03-28 15:13:33 -07:00
Matthew Zhou
f0cfbc8587 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
4773059b5a feat: hide keys in agent file (#1445) 2025-03-27 17:21:03 -07:00
Sarah Wooders
aba8c473a9 fix: fix message ordering for agent file and only support in-context messages (#1403) 2025-03-27 15:23:47 -07:00
Sarah Wooders
db6455303b fix: fix tool rule serialization for rules with extra fields getting dropped (#1441) 2025-03-27 14:54:13 -07:00
Sarah Wooders
bd4a23a1f9 feat: remove identities from .af (#1388) 2025-03-24 21:57:52 -07:00
Sarah Wooders
d5b7fca789 fix: patch agent export by making description optional (#1369) 2025-03-23 15:39:09 -07:00
Matthew Zhou
54bb536beb feat: Add metadata_ field to Tool (#1321) 2025-03-17 17:14:08 -07:00
cthomas
aa2f4258c4 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
40a9d7d966 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
6ed1502a59 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
75430d82a8 feat: Add query parameter for project ID on /upload route and adapt tests (#1210) 2025-03-06 15:44:12 -08:00
Matthew Zhou
f19fef56d1 feat: Serialize tags on agents (#1199) 2025-03-05 14:14:27 -08:00
Matthew Zhou
d79c8f9484 feat: Add agent environment variable serialization (#1198) 2025-03-05 13:59:34 -08:00
Matthew Zhou
5b2e7d3356 feat: Add blocks and tools to agent serialization (#1187) 2025-03-04 15:31:50 -08:00
Matthew Zhou
6d49dc1ac5 feat: Serialize agent state simple fields and messages (#1012) 2025-02-18 11:01:10 -08:00