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

This commit is contained in:
Sehoon Shon
2026-02-27 08:42:58 -05:00
parent efb6c3aa89
commit d3496ea409
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

@@ -352,6 +352,7 @@ export class CodeAssistServer implements ContentGenerator {
responseType: 'stream',
body: JSON.stringify(req),
signal,
retry: false,
});
return (async function* (): AsyncGenerator<T> {