diff --git a/src/api/providers/gemini.ts b/src/api/providers/gemini.ts index 4402e3e017..1da8273a14 100644 --- a/src/api/providers/gemini.ts +++ b/src/api/providers/gemini.ts @@ -456,7 +456,10 @@ export class GeminiHandler extends BaseProvider implements SingleCompletionHandl } public getThoughtSignature(): string | undefined { - return this.lastThoughtSignature + // Disabled to prevent "Corrupted thought signature" errors on task resumption. + // Gemini thought signatures are session-specific and cannot be reliably reused + // across API calls or after task resumption from history. + return undefined } public getResponseId(): string | undefined {