fix(grok): remove obsolete helper

This commit is contained in:
jinfeijie bot
2026-07-10 17:11:04 +08:00
parent 0fa1eb85ec
commit 5a0dd510e5
@@ -694,10 +694,3 @@ func (s *OpenAIGatewayService) tempUnscheduleGrok(ctx context.Context, account *
_ = s.accountRepo.SetTempUnschedulable(stateCtx, account.ID, until, reason)
}
}
func ptrStringOrNil(value string) *string {
if strings.TrimSpace(value) == "" {
return nil
}
return &value
}