Skip to content

Open source AI coding agent. Designed for large projects and real world tasks.

add CreditTypeAdminGrant for admin credit grants

Dane Schneideraa3ed753eab5
diff --git a/app/shared/data_models.go b/app/shared/data_models.go
index 8f4312d6..d020be83 100644
--- a/app/shared/data_models.go
+++ b/app/shared/data_models.go
@@ -398,10 +398,11 @@ const (
type CreditType string
const (
- CreditTypeTrial CreditType = "trial"
- CreditTypeGrant CreditType = "grant"
- CreditTypePurchase CreditType = "purchase"
- CreditTypeSwitch CreditType = "switch"
+ CreditTypeTrial CreditType = "trial"
+ CreditTypeGrant CreditType = "grant"
+ CreditTypeAdminGrant CreditType = "admin_grant"
+ CreditTypePurchase CreditType = "purchase"
+ CreditTypeSwitch CreditType = "switch"
)
type DebitType string