From c28b65f8498526aa35cca5f513699b643f235b67 Mon Sep 17 00:00:00 2001 From: lwiles692 Date: Thu, 19 Mar 2026 09:46:40 +0800 Subject: [PATCH] Update internal/auth/codebuddy/codebuddy_auth.go Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com> --- internal/auth/codebuddy/codebuddy_auth.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/auth/codebuddy/codebuddy_auth.go b/internal/auth/codebuddy/codebuddy_auth.go index 9982c0fc..4afc5840 100644 --- a/internal/auth/codebuddy/codebuddy_auth.go +++ b/internal/auth/codebuddy/codebuddy_auth.go @@ -131,7 +131,7 @@ type pollResponse struct { } `json:"data"` } -// doPollRequest 执行单次轮询请求,安全读取并关闭响应体 +// doPollRequest performs a single polling request, safely reading and closing the response body func (a *CodeBuddyAuth) doPollRequest(ctx context.Context, pollURL string) ([]byte, int, error) { req, err := http.NewRequestWithContext(ctx, http.MethodGet, pollURL, nil) if err != nil {