@@ -28,7 +28,6 @@ export type RateLimitInfo = {
2828 name : string ;
2929 description : string ;
3030 config : RateLimiterConfig ;
31- source : "default" | "plan" | "override" ;
3231 currentTokens : number | null ;
3332} ;
3433
@@ -120,13 +119,9 @@ export class LimitsPresenter extends BasePresenter {
120119 const limits = currentPlan ?. v3Subscription ?. plan ?. limits ;
121120 const isOnTopPlan = currentPlan ?. v3Subscription ?. plan ?. code === "v3_pro_1" ;
122121
123- // Resolve API rate limit config
122+ // Resolve rate limit configs (org override or default)
124123 const apiRateLimitConfig = resolveApiRateLimitConfig ( organization . apiRateLimiterConfig ) ;
125- const apiRateLimitSource = organization . apiRateLimiterConfig ? "override" : "default" ;
126-
127- // Resolve batch rate limit config
128124 const batchRateLimitConfig = resolveBatchRateLimitConfig ( organization . batchRateLimitConfig ) ;
129- const batchRateLimitSource = organization . batchRateLimitConfig ? "override" : "default" ;
130125
131126 // Resolve batch concurrency config
132127 const batchConcurrencyConfig = resolveBatchConcurrencyConfig (
@@ -201,14 +196,12 @@ export class LimitsPresenter extends BasePresenter {
201196 name : "API rate limit" ,
202197 description : "Rate limit for API requests (trigger, batch, etc.)" ,
203198 config : apiRateLimitConfig ,
204- source : apiRateLimitSource ,
205199 currentTokens : apiRateLimitTokens ,
206200 } ,
207201 batch : {
208202 name : "Batch rate limit" ,
209203 description : "Rate limit for batch trigger operations" ,
210204 config : batchRateLimitConfig ,
211- source : batchRateLimitSource ,
212205 currentTokens : batchRateLimitTokens ,
213206 } ,
214207 } ,
0 commit comments