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
..
2026-02-24 10:52:07 -08:00
2026-02-24 10:52:07 -08:00
2025-10-07 17:50:45 -07:00
2025-10-07 17:50:45 -07:00
2026-02-24 10:52:06 -08:00
2025-11-13 15:36:55 -08:00
2026-02-24 10:52:07 -08:00
2026-02-24 10:52:05 -08:00
2026-02-24 10:52:06 -08:00
2025-09-17 15:47:40 -07:00
2026-02-24 10:52:07 -08:00
2025-11-13 15:36:50 -08:00
2026-02-24 10:52:07 -08:00
2026-02-24 10:52:07 -08:00
2026-02-24 10:52:07 -08:00
2026-01-12 10:57:48 -08:00
2025-09-17 15:47:40 -07:00
2026-02-24 10:52:07 -08:00
2026-02-24 10:52:06 -08:00
2025-09-17 15:47:40 -07:00
2025-10-07 17:50:44 -07:00
2026-02-24 10:52:07 -08:00
2026-02-24 10:52:07 -08:00
2025-10-07 17:50:44 -07:00
2026-02-24 10:52:07 -08:00
2026-02-24 10:52:07 -08:00
2025-09-17 15:47:40 -07:00
2025-09-17 15:47:40 -07:00
2026-01-29 12:45:45 -08:00
2025-10-07 17:50:45 -07:00
2026-02-24 10:52:06 -08:00
2025-09-17 15:47:40 -07:00
2026-02-24 10:52:07 -08:00
2025-10-08 16:10:51 -07:00
2026-02-24 10:52:07 -08:00
2025-09-17 15:47:40 -07:00
2025-11-13 15:36:55 -08:00
2025-11-24 19:10:26 -08:00
2025-10-07 17:50:49 -07:00
2025-09-17 15:47:40 -07:00
2026-02-24 10:52:06 -08:00
2025-09-17 15:47:40 -07:00
2025-09-17 15:47:40 -07:00
2026-02-24 10:52:06 -08:00
2026-02-24 10:52:06 -08:00
2026-01-29 12:44:04 -08:00