4 Commits

Author SHA1 Message Date
Noe
19e65a5b49 pr fixes 2026-02-18 21:34:11 +00:00
Noe
24d2645eca hive: merge 05-update-scripts-e2e-and-cross-model (squashed) 2026-02-18 13:10:02 +00:00
tctinh
902b5bf91a fix: correct output redirection in E2E test scripts and update model testing options 2026-01-01 09:55:28 +07:00
tctinh
2455a7d4a3 fix: cross-model signature sanitization for Gemini-Claude session switching
Fixes 'Invalid signature in thinking block' error when switching models mid-session.

Root cause: Gemini stores thoughtSignature in metadata.google on tool call parts,
but existing strippers only checked top-level signatures. When switching to Claude
with a tool call, the foreign signature caused validation errors.

Changes:
- Add cross-model-sanitizer module for bi-directional sanitization (Gemini<->Claude)
- Integrate sanitizer into request pipeline for Claude models
- Add 42 new tests (28 unit + 14 integration)
- Add E2E test scripts for 5-model verification

Tested with: Gemini, Claude (Anthropic), Claude (Google), OpenAI, all passing.
2025-12-30 11:15:38 +07:00