fix: sync OpenAI plan type from usage limit errors
This commit is contained in:
@@ -757,6 +757,8 @@ func (s *AccountTestService) reconcileOpenAI429State(ctx context.Context, accoun
|
||||
return
|
||||
}
|
||||
|
||||
persistOpenAI429PlanType(ctx, s.accountRepo, account, body)
|
||||
|
||||
var resetAt *time.Time
|
||||
if calculated := calculateOpenAI429ResetTime(headers); calculated != nil {
|
||||
resetAt = calculated
|
||||
|
||||
Reference in New Issue
Block a user