Skip to content

Commit 19d08bf

Browse files
committed
fix: pin @google/genai and google-auth-library to avoid gaxios v7 stream corruption
google-auth-library v10+ depends on gaxios v7.1.3 which has a bug: its _request() method reads stream error bodies using Array.toString(), which joins Buffer chunks with commas — corrupting JSON error responses at TCP chunk boundaries. This causes TerminalQuotaError to be misclassified due to corrupted @type fields in error details. This fix reverts the dependency bumps from google-gemini#18880: - @google/genai: 1.41.0 → 1.30.0 (packages/core, packages/cli, packages/a2a-server) - google-auth-library: ^10.5.0 → ^9.11.0 (packages/core) google-auth-library v9.x uses gaxios v6.x which correctly concatenates chunks via string addition (response += chunk). DO NOT upgrade these packages until the gaxios v7 bug is fixed upstream. See: google-gemini#21884
1 parent 18112c4 commit 19d08bf

6 files changed

Lines changed: 883 additions & 1249 deletions

File tree

0 commit comments

Comments
 (0)