Commit Graph

38 Commits

Author SHA1 Message Date
Shubham Naik
53d2bd0443 feat: support webhooks for step completions (#5904)
* chore: have letta fire a request after every step

* chore: have letta fire a request after every step

* chore: temporal

* chore: temporal

---------

Co-authored-by: Shubham Naik <shub@memgpt.ai>
2025-11-13 15:36:50 -08:00
Shubham Naik
e3b0398aee Fix sync route for list messages for step (#5764)
* fix: list messages for step route

* fix: list messages for step route

---------

Co-authored-by: Shubham Naik <shub@memgpt.ai>
2025-11-13 15:35:34 -08:00
Kian Jones
45065297a0 feat: runtime validation for ids for internal managers calls (#5544)
* claude coded first pass

* fix test cases to expect errors instead

* fix this

* let's see how letta-code did

* claude

* fix tests, remove dangling comments, retrofit all managers functions with decorator

* revert to main for these since we are not erroring on invalid tool and block ids

* reorder decorators

* finish refactoring test cases

* reorder agent_manager decorators and fix test tool manager

* add decorator on missing managers

* fix id sources

* remove redundant check

* uses enum now

* move to enum
2025-10-24 15:13:47 -07:00
Sarah Wooders
354205f581 feat: create new runs table [LET-4467] (#4841) 2025-10-07 17:50:47 -07:00
Sarah Wooders
4df0a27eb0 chore: remove sync db (#4873) 2025-10-07 17:50:45 -07:00
cthomas
bc8223a13b feat: allow partial for step metrics creation (#4846) 2025-10-07 17:50:45 -07:00
cthomas
a9a4cb6ce1 fix: move read inside session (#4845) 2025-10-07 17:50:45 -07:00
cthomas
6bfeac9863 feat: add allow partial flag for step creation (#4844)
* feat: add allow partial flag for step creation

* fix indent
2025-10-07 17:50:45 -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
jnjpng
5a668057ad feat: add endpoint for fetching step metrics
Co-authored-by: Jin Peng <jinjpeng@Jins-MacBook-Pro.local>
2025-08-13 15:38:00 -07:00
jnjpng
0179901e79 feat: record step metrics to table
Co-authored-by: Jin Peng <jinjpeng@Jins-MacBook-Pro.local>
2025-08-13 11:29:18 -07:00
Matthew Zhou
617ec9e87b feat: Add comprehensive error tracking to steps table (#3765) 2025-08-06 20:19:29 -07:00
cthomas
9392adc8f5 feat: skip job load in step logging (#3433) 2025-07-20 14:41:40 -07:00
Andy Li
60c4e23904 feat: stop reasons and error messages and sentry fixes 2025-07-18 11:56:20 -07:00
cthomas
3e385a2f8f feat: use no refresh in log_step_async (#3399) 2025-07-17 21:56:48 -07:00
cthomas
514e7cad25 feat: add project id to step model (#3121) 2025-07-02 12:03:55 -07:00
Andy Li
32f2cf17b5 feat: expand summarizer providers 2025-07-01 15:07:38 -07:00
Sarah Wooders
d4b510e358 feat: allow filtering steps by feedback (#3061) 2025-06-27 14:35:29 -07:00
Andy Li
98a79afbdd fix: bugfixes (and bump) (#3071) 2025-06-27 14:23:42 -07:00
Shubham Naik
f09483ccaa feat: advanced viewer refresh (#3068)
Co-authored-by: Shubham Naik <shub@memgpt.ai>
2025-06-27 14:06:09 -07:00
cthomas
d5e3e22ed1 feat: add feedback for steps (#2946) 2025-06-25 16:15:30 -07:00
Andy Li
d2252f2953 feat: otel metrics and expanded collecting (#2647)
(passed tests in last run)
2025-06-05 17:20:14 -07:00
Andy Li
529f452eed feat: add trace_id filter for listing steps (#2560) 2025-06-02 19:12:49 -07:00
cthomas
b3e021616b feat(asyncify): migrate list steps (#2418) 2025-05-24 12:06:04 -07:00
cthomas
6c1b189080 feat: add db tracing to otel (#2337) 2025-05-22 13:47:49 -07:00
cthomas
353bd607df feat: add provider category to steps model (#2303) 2025-05-21 15:40:12 -07:00
Andy Li
a78abc610e feat: track llm provider traces and tracking steps in async agent loop (#2219) 2025-05-19 15:50:56 -07:00
Andy Li
600ccb35e7 feat: async db client (#2076) 2025-05-12 17:15:14 -07:00
cthomas
4656164753 feat: add agent to steps table and support filtering (#1212) 2025-03-07 10:10:29 -08:00
cthomas
e68d9dd7b4 feat: add tracing to steps table (#1056) 2025-02-27 14:25:22 -08:00
cthomas
0202f90562 chore: change the name of user id to actor (#1098) 2025-02-25 11:35:19 -08:00
Matthew Zhou
b5e09536ae feat: Serialize agent state simple fields and messages (#1012) 2025-02-18 11:01:10 -08:00
cthomas
89fef2d45d feat: add model_endpoint to steps table (#902) 2025-02-05 11:16:33 -08:00
Charles Packer
e55b0e96d0 fix: fix typing on file (#869) 2025-02-03 18:51:04 -08:00
cthomas
b37792c6b8 feat: add routes for steps (#839) 2025-01-29 20:57:09 -08:00
cthomas
ef6fce8e0f feat: add schema/db for new steps table (#669) 2025-01-18 12:20:10 -08:00