fix(core): disable retries for code assist oauth and server requests

Fixes #20557
This commit is contained in:
Sehoon Shon
2026-02-27 08:49:43 -05:00
parent 82336de7a4
commit 12d0bd1da6
2 changed files with 2 additions and 0 deletions

View File

@@ -138,6 +138,7 @@ async function initOauthClient(
clientSecret: OAUTH_CLIENT_SECRET,
transporterOptions: {
proxy: config.getProxy(),
retry: false,
},
});
const useEncryptedStorage = getUseEncryptedStorageFlag();

View File

@@ -305,6 +305,7 @@ export class CodeAssistServer implements ContentGenerator {
responseType: 'json',
body: JSON.stringify(req),
signal,
retry: false,
});
return res.data;
}