mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-03-12 15:10:59 -07:00
fix(core): disable retries for code assist oauth and server requests
Fixes #20557
This commit is contained in:
@@ -138,6 +138,7 @@ async function initOauthClient(
|
||||
clientSecret: OAUTH_CLIENT_SECRET,
|
||||
transporterOptions: {
|
||||
proxy: config.getProxy(),
|
||||
retry: false,
|
||||
},
|
||||
});
|
||||
const useEncryptedStorage = getUseEncryptedStorageFlag();
|
||||
|
||||
@@ -305,6 +305,7 @@ export class CodeAssistServer implements ContentGenerator {
|
||||
responseType: 'json',
|
||||
body: JSON.stringify(req),
|
||||
signal,
|
||||
retry: false,
|
||||
});
|
||||
return res.data;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user