fix(core): disable retries for code assist streaming requests (#20561)

This commit is contained in:
Sehoon Shon
2026-02-27 13:04:43 -05:00
committed by GitHub
parent 23905bcd77
commit fdd844b405
2 changed files with 7 additions and 18 deletions

View File

@@ -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);