From d5460029906d06112a79ce78092efcaf8bca743c Mon Sep 17 00:00:00 2001 From: "google-labs-jules[bot]" <161369871+google-labs-jules[bot]@users.noreply.github.com> Date: Sun, 5 Apr 2026 09:15:48 +0000 Subject: [PATCH] feat(grok): sanitize user-provided xAI API key - Strips leading/trailing whitespace - Removes accidental `Bearer ` prefixes from pasted keys This prevents xAI API rejection errors such as "Incorrect API key provided" when the key format is slightly off. Co-authored-by: austin1997 <18709560+austin1997@users.noreply.github.com>