Adam Weidman
3bed217620
fix: prevent uncontrolled retry loop during fallback
...
The retry/fallback path was re-enqueuing the pending user message without deduplication or delay when falling back to the same model, causing a multiplication loop. This fix ensures that we only retry immediately when transitioning to a new model, and respect the backoff delay when retrying the same model.
TAG=agy
CONV=37b3cdb6-8437-4ced-ae4e-3d04054bacb1
2026-05-12 17:50:39 -04:00
Coco Sheng
f5c0977e96
fix(core): retry on ERR_STREAM_PREMATURE_CLOSE errors ( #26519 )
2026-05-05 19:19:50 +00:00
Adam Weidman
3aedbbc067
fix(core): distinguish fallback chains and fix maxAttempts for auto vs explicit model selection ( #26163 )
2026-04-29 20:23:37 +00:00
Adib234
99235fc59d
fix(core): reduce default API timeout to 60s and enable retries for undici timeouts ( #26191 )
2026-04-29 20:05:45 +00:00
Rob Clevenger
06e7621b26
Fix(core): retry additional OpenSSL 3.x SSL errors during streaming ( #16075 ) ( #25187 )
2026-04-15 02:50:22 +00:00
Aashir Javed
77027dff82
fix(cli): clear stale retry/loading state after cancellation ( #21096 ) ( #21960 )
...
Co-authored-by: Aashir Javed <Aaxhirrr@users.noreply.github.com >
Co-authored-by: Dev Randalpura <devrandalpura@google.com >
2026-04-02 19:44:39 +00:00
Aishanee Shah
067e09a40b
feat(telemetry): implement retry attempt telemetry for network related retries ( #22027 )
...
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
2026-03-11 18:55:48 +00:00
Aishanee Shah
f8ad3a200a
Feat/retry fetch notifications ( #21813 )
2026-03-11 03:33:50 +00:00
nityam
28af4e127f
fix: merge duplicate imports in packages/core (3/4) ( #20928 )
2026-03-04 00:12:59 +00:00
Bryan Morgan
9c2fd5a7c6
feat(core): add HTTP 499 to retryable errors and map to RetryableQuotaError ( #20432 )
2026-02-26 15:42:34 +00:00
Sehoon Shon
ec0f23ae03
fix(core): increase default retry attempts and add quota error backoff ( #19949 )
2026-02-23 15:13:34 +00:00
Christian Gunderman
fd65416a2f
Disallow unsafe type assertions ( #18688 )
2026-02-10 00:10:15 +00:00
Philippe
e3b8490edf
fix(core): add retry logic for transient SSL/TLS errors ( #17318 ) ( #18310 )
2026-02-05 15:47:35 +00:00
Sehoon Shon
e1bd1d239f
Set default max attempts to 3 and use the common variable ( #18209 )
2026-02-03 17:47:13 +00:00
Sehoon Shon
a362b7b382
lower the default max retries to reduce contention ( #17975 )
2026-01-30 20:00:31 +00:00
Gaurav
3b626e7c61
Add interactive ValidationDialog for handling 403 VALIDATION_REQUIRED errors. ( #16231 )
2026-01-21 00:23:01 +00:00
Sehoon Shon
4afd3741df
feat(core/ui): enhance retry mechanism and UX ( #16489 )
2026-01-14 04:03:19 +00:00
Sehoon Shon
07e597de40
Exponential back-off retries for retryable error without a specified … ( #15684 )
2025-12-29 22:23:23 +00:00
Adib234
10ae84869a
Migrate console to coreEvents.emitFeedback or debugLogger ( #15219 )
2025-12-29 20:46:10 +00:00
Tommaso Sciortino
bf90b59935
feat: launch Gemini 3 Flash in Gemini CLI ⚡ ️ ⚡ ️ ⚡ ️ ( #15196 )
...
Co-authored-by: gemini-cli-robot <gemini-cli-robot@google.com >
Co-authored-by: joshualitt <joshualitt@google.com >
Co-authored-by: Sehoon Shon <sshon@google.com >
Co-authored-by: Adam Weidman <65992621+adamfweidman@users.noreply.github.com >
Co-authored-by: Adib234 <30782825+Adib234@users.noreply.github.com >
Co-authored-by: Jenna Inouye <jinouye@google.com >
2025-12-17 09:43:21 -08:00
Adam Weidman
8f4f8baa81
feat(modelAvailabilityService): integrate model availability service into backend logic ( #14470 )
2025-12-08 14:44:34 +00:00
matt korwel
dd3fd73ffe
fix(core): improve API response error handling and retry logic ( #14563 )
2025-12-05 17:49:08 +00:00
Megha Bansal
6f3b56c5b6
fix: improve retry logic for fetch errors and network codes ( #14439 )
2025-12-04 15:41:08 +00:00
Shreya Keshive
86828bb561
feat: launch Gemini 3 in Gemini CLI 🚀 🚀 🚀 (in main) ( #13287 )
...
Co-authored-by: Adam Weidman <65992621+adamfweidman@users.noreply.github.com >
Co-authored-by: Sehoon Shon <sshon@google.com >
Co-authored-by: Adib234 <30782825+Adib234@users.noreply.github.com >
Co-authored-by: Sandy Tao <sandytao520@icloud.com >
Co-authored-by: Abhi <43648792+abhipatel12@users.noreply.github.com >
Co-authored-by: Aishanee Shah <aishaneeshah@gmail.com >
Co-authored-by: gemini-cli-robot <gemini-cli-robot@google.com >
Co-authored-by: Gal Zahavi <38544478+galz10@users.noreply.github.com >
Co-authored-by: Jacob Richman <jacob314@gmail.com >
Co-authored-by: joshualitt <joshualitt@google.com >
Co-authored-by: Jenna Inouye <jinouye@google.com >
2025-11-18 09:01:16 -08:00
Gaurav
ee92db7533
fix: handle request retries and model fallback correctly ( #11624 )
2025-10-24 18:09:06 +00:00
Abhi
b364f37655
refactor(logging): Centralize console logging with debugLogger ( #11590 )
2025-10-21 20:35:22 +00:00
Adam Weidman
8731309d7c
chore: do not retry the model request if the user has aborted the request ( #11224 )
2025-10-20 15:21:49 +00:00
Gaurav
996c9f5955
Revert "fix: handle request retries and model fallback correctly" ( #11164 )
2025-10-14 23:30:59 +00:00
Sandy Tao
7c1a90244a
fix(core): add retry logic for specific fetch errors ( #11066 )
2025-10-14 16:17:31 +00:00
Gaurav
dd01af609e
refactor: set max retry attempts to 3 ( #11072 )
2025-10-13 23:26:51 +00:00
Gaurav
319f43fa23
fix: handle request retries and model fallback correctly ( #9407 )
2025-10-03 20:24:50 +00:00
Sandy Tao
3b92f127a9
refactor(core): Unify retry logic and remove schema depth check ( #10453 )
2025-10-03 16:08:27 +00:00
Sandy Tao
ac4a79223a
feat(core): Add content-based retries for JSON generation ( #9264 )
2025-09-29 19:27:15 +00:00
anthony bushong
4caaa2a8e8
fix(core): ensure retry sets defaults for nullish values passed into options ( #9540 )
...
Co-authored-by: Abhi <43648792+abhipatel12@users.noreply.github.com >
2025-09-25 17:33:00 +00:00
anthony bushong
8abe7e151c
fix(core): plumb max attempts for retry to generate options in baseLLMClient ( #9518 )
2025-09-24 22:25:15 +00:00
Hyeladi Bassi
a9f04eba2c
refactor(telemetry): enhance flushToClearcut method with retry logic and early return for empty events ( #1601 )
...
Co-authored-by: Scott Densmore <scottdensmore@mac.com >
2025-07-27 18:18:27 +00:00
Josh Soref
dc2ac144b7
Various spelling improvements ( #3497 )
...
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com >
Co-authored-by: Sandy Tao <sandytao520@icloud.com >
2025-07-21 21:54:44 +00:00
Conrad Irwin
761ffc6338
Zed integration ( #4266 )
...
Co-authored-by: Agus Zubiaga <agus@zed.dev >
Co-authored-by: Ben Brandt <benjamin.j.brandt@gmail.com >
Co-authored-by: mkorwel <matt.korwel@gmail.com >
2025-07-17 22:25:23 +00:00
Bryan Morgan
8a6509ffeb
Remove auto-execution on Flash in the event of a 429/Quota failover ( #3662 )
...
Co-authored-by: Jenna Inouye <jinouye@google.com >
2025-07-09 17:55:56 +00:00
Bryan Morgan
b0cce95286
Improve quota- and resource-related 429 error handling, also taking Code Assist customer tiers into consideration ( #3609 )
2025-07-09 14:18:15 +00:00
Tommaso Sciortino
3587054d32
Rename AuthType LOGIN_WITH_GOOGLE_PERSONAL -> LOGIN_WITH_GOOGLE ( #2769 )
2025-07-01 00:11:54 +00:00
Bryan Morgan
bb797ded7d
429 fix ( #1668 )
2025-06-26 01:45:38 +00:00
Tommaso Sciortino
79c647d486
Merge "Login with Google Workspace" auth option into "Login with Google" ( #1574 )
...
Co-authored-by: Scott Densmore <scottdensmore@mac.com >
2025-06-25 22:38:18 +00:00
Bryan Morgan
eacbb3551c
changed 429 failover from 3 consecutive to 2 for OAuth users ( #1579 )
2025-06-25 19:37:23 +00:00
Bryan Morgan
e356949d3f
[JUNE 25] Permanent failover to Flash model for OAuth users after persistent 429 errors ( #1376 )
...
Co-authored-by: Scott Densmore <scottdensmore@mac.com >
2025-06-24 22:48:55 +00:00
Tommaso Sciortino
21fba832d1
Rename server->core ( #638 )
2025-05-30 18:25:47 -07:00