fix: disable Gemini thought signature persistence to prevent corrupted signature errors (#10554)

This commit is contained in:
Daniel 2026-01-08 17:36:45 -05:00 committed by GitHub
parent 1d9f7f2aa6
commit e3c0cd64dc
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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 {