diff --git a/packages/vscode/genaisrc/gcm.genai.mts b/packages/vscode/genaisrc/gcm.genai.mts index 9c33a8ee71..4d246dc895 100644 --- a/packages/vscode/genaisrc/gcm.genai.mts +++ b/packages/vscode/genaisrc/gcm.genai.mts @@ -92,7 +92,7 @@ do { ], }) if (res.error) throw res.error - message = res.text + message = res.text?.trim() } if (!message) {