From 33afc3cbb3822c50e0c2f84b0b618cca9878d210 Mon Sep 17 00:00:00 2001 From: Sergei Bronnikov Date: Tue, 7 Jul 2026 14:54:14 +0100 Subject: [PATCH] revoked msg --- internal/authenticator/authenticator.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/authenticator/authenticator.go b/internal/authenticator/authenticator.go index a378876..be7587e 100644 --- a/internal/authenticator/authenticator.go +++ b/internal/authenticator/authenticator.go @@ -267,7 +267,7 @@ func (a *Authenticator) AuthenticateHttpRequest(req *http.Request, xCustomProvid } if rKey.Revoked { - return nil, nil, internal_errors.NewAuthError(fmt.Sprintf("key %s has been revoked", anonymize(raw))) + return nil, nil, internal_errors.NewAuthError("You've reached your AI usage limit for this course. To continue, please contact your instructor or TA.") } if xcustom.IsXCustomRequest(req) {