• erio's avatar
    fix: clean thoughtSignature for all clients, not just CLI · 0b8fea4c
    erio authored
    Previously, thoughtSignature cleanup only applied to Gemini CLI
    requests (detected via x-gemini-api-privileged-user-id header or
    tmp dir pattern). This caused 400 errors for non-CLI clients when
    session cache expired and they sent stale signatures.
    
    Remove the isGeminiCLIRequest guard so all clients benefit from
    proactive thoughtSignature cleanup on session binding miss.
    0b8fea4c
gemini_v1beta_handler.go 22.8 KB