From 20b2f02297d5c78e38772743fd22d26324f3e9fc Mon Sep 17 00:00:00 2001 From: "devin-ai-integration[bot]" <158243242+devin-ai-integration[bot]@users.noreply.github.com> Date: Tue, 17 Nov 2026 18:03:38 +0000 Subject: [PATCH] test(gemini): use valid base64 thought signature fixtures (#52311) Co-authored-by: mateo <277851410+mateo-berri@users.noreply.github.com> Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> --- tests/integration/providers/test_gemini_thinking_replay_wire.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/integration/providers/test_gemini_thinking_replay_wire.py b/tests/integration/providers/test_gemini_thinking_replay_wire.py index 70e339ed8b7..540ed393e6d 100644 --- a/tests/integration/providers/test_gemini_thinking_replay_wire.py +++ b/tests/integration/providers/test_gemini_thinking_replay_wire.py @@ -36,7 +36,7 @@ _LOCATION: Final = "us-central1" _MODEL_PATH: Final = f"/v1/projects/{_PROJECT}/locations/{_LOCATION}/publishers/google/models/{_BACKEND}" _SALT: Final = os.environ.get("LITELLM_SALT_KEY", "sk-integration-salt") _CLAUDE_SIGNATURE: Final = "CAQSyAsKEAgSGAI4AUIIdGhpbmtpbmcSDAlY-synthetic-claude-signature" -_GEMINI_SIGNATURE: Final = "synthetic-gemini-thought-signature" +_GEMINI_SIGNATURE: Final = base64.b64encode(b"synthetic-gemini-thought-signature").decode() _REASONING: Final = "private thought about fruit" _QUESTION: Final = "How many apples are left?" _PRIOR_ANSWER: Final = "Two apples."