Commit Graph

4 Commits

Author SHA1 Message Date
Ari Webb
5896e5d023 fix: logging for credit verification step (#9514) 2026-02-24 10:55:11 -08:00
Shubham Naik
20c71523f8 chore: hotwire fix for core (#9500) 2026-02-24 10:52:07 -08:00
Shubham Naik
e66981c7e8 feat: update undertaker to use rate limiter (#9498) 2026-02-24 10:52:07 -08:00
Ari Webb
0a8a8fda54 feat: add credit verification before agent message endpoints [LET-XXXX] (#9433)
* feat: add credit verification before agent message endpoints

Add credit verification checks to message endpoints to prevent
execution when organizations have insufficient credits.

- Add InsufficientCreditsError exception type
- Add CreditVerificationService that calls step-orchestrator API
- Add credit checks to /agents/{id}/messages endpoints
- Add credit checks to /conversations/{id}/messages endpoint

🐾 Generated with [Letta Code](https://letta.com)

Co-Authored-By: Letta <noreply@letta.com>

* surface error in ade

* do per step instead

* parallel check

* parallel to step

* small fixes

* stage publish api

* fixes

* revert unnecessary frontend changes

* insufficient credits stop reason

---------

Co-authored-by: Letta <noreply@letta.com>
2026-02-24 10:52:07 -08:00