Commit Graph

13 Commits

Author SHA1 Message Date
Ridhwan Hussain
adda630b51 refactor: extract shared AI credit system helpers and consolidate type checks 2026-06-05 19:59:03 +01:00
Ridhwan Hussain
881656bf36 chore: resolve conflicts 😭 2026-06-03 16:34:34 +01:00
Ridhwan Hussain
fddb4d4a99 feat: implement tiered AI markup resolution in credit system 2026-06-03 15:58:57 +01:00
Charlie Lamb
9e4909a9fa chore: dry up credit system checks 2026-06-01 17:28:40 +01:00
Ridhwan Hussain
0ad885c23e fix: ai credit system feature config 2026-05-26 12:37:58 +01:00
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
04ef54726a feat: moved lua scripts to new cache structure 2026-04-14 17:46:08 +01:00
John Yeo
3d83472397 chore: cleaned up current api plan files to prepare for new schema 2026-02-08 17:49:55 -08:00
John Yeo
c3ac0bca48 fix: merging entity cus feature legacy data and passing ctx down to version change module 2025-12-02 10:12:57 +00:00
John Yeo
4e68c3dc9a feat: created new features API version 2025-11-14 15:59:39 +00:00
John Yeo
48b33abc2f fix: versioning for cached customer 2025-11-10 09:17:18 +00:00
John Yeo
229b63e97d fix: apiFeatureToDbFeatur 2025-10-12 11:04:44 +01:00
John Yeo
9f17bb88b2 wip 2025-10-11 15:02:31 +01:00