mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-04-06 19:31:15 -07:00
fix(core): disable retries for code assist streaming requests (#20561)
This commit is contained in:
@@ -84,6 +84,7 @@ describe('CodeAssistServer', () => {
|
||||
body: expect.any(String),
|
||||
signal: undefined,
|
||||
retryConfig: {
|
||||
retryDelay: 1000,
|
||||
retry: 3,
|
||||
noResponseRetries: 3,
|
||||
statusCodesToRetry: [
|
||||
@@ -410,15 +411,7 @@ describe('CodeAssistServer', () => {
|
||||
'Content-Type': 'application/json',
|
||||
},
|
||||
signal: undefined,
|
||||
retryConfig: {
|
||||
retry: 3,
|
||||
noResponseRetries: 3,
|
||||
statusCodesToRetry: [
|
||||
[429, 429],
|
||||
[499, 499],
|
||||
[500, 599],
|
||||
],
|
||||
},
|
||||
retry: false,
|
||||
});
|
||||
|
||||
expect(results).toHaveLength(2);
|
||||
|
||||
Reference in New Issue
Block a user