Commit Graph

6 Commits

Author SHA1 Message Date
Charlie Lamb
8822664df9 feat: AI credit system with model-based token pricing
Adds a new FeatureType.AiCreditSystem that enables model-based token
pricing with per-model markup configuration. Includes the @useautumn/ai-sdk
package for Vercel AI SDK integration with automatic token tracking.

Co-authored-by: TheUntraceable <73362400+TheUntraceable@users.noreply.github.com>
2026-05-19 19:05:37 +01:00
John Yeo
1bfe6413dc fix: upgrade discounts and added instrumentation 2026-03-06 18:27:37 +00:00
John Yeo
75ead719a3 chore: removed priceToInvoiceAmount from server package. Defined line item utility funcitons 2025-12-14 10:52:38 +00:00
John Yeo
6a618b67a4 chore: solving type errors in test files 2025-11-11 18:04:55 +00:00
John Yeo
6517245c51 writing tests 2025-11-08 19:31:38 +00:00
amianthus
a51be07952 test: 💍 bun conversions 2025-10-27 14:13:40 +00:00