hive: merge 05-update-scripts-e2e-and-cross-model (squashed)

This commit is contained in:
Noe
2026-02-18 13:10:02 +00:00
parent ff0bed38d1
commit 24d2645eca
4 changed files with 15 additions and 15 deletions

View File

@@ -77,7 +77,7 @@ if [ -z "$SID" ]; then
else
log_info "Session: $SID"
log_info "Step 2: Google Claude Opus Thinking + tool..."
opencode run -s "$SID" -m google/antigravity-claude-opus-4-5-thinking-low \
opencode run -s "$SID" -m google/antigravity-claude-opus-4-6-thinking-low \
"Run: echo 'Test2-Google-Claude'" \
> /tmp/e2e-t2-s2.log 2>&1 || true
@@ -157,7 +157,7 @@ else
else
log_info "Session: $SID"
log_info "Step 2: Google Claude Sonnet Thinking + tool..."
opencode run -s "$SID" -m google/antigravity-claude-sonnet-4-5-thinking-low \
opencode run -s "$SID" -m google/antigravity-claude-opus-4-6-thinking-low \
"Run: echo 'Test5-Google-Claude'" \
> /tmp/e2e-t5-s2.log 2>&1 || true
@@ -190,7 +190,7 @@ else
check_signature_error /tmp/e2e-t6-s2.log && CHAIN_OK=false
log_info "Turn 3: Google Claude Opus..."
opencode run -s "$SID" -m google/antigravity-claude-opus-4-5-thinking-low \
opencode run -s "$SID" -m google/antigravity-claude-opus-4-6-thinking-low \
"Run: echo 'Turn3'" > /tmp/e2e-t6-s3.log 2>&1 || true
check_signature_error /tmp/e2e-t6-s3.log && CHAIN_OK=false
@@ -218,7 +218,7 @@ echo ""
# Test 7: Google Claude → Anthropic Claude (same family, different API)
echo "Test 7: Google Claude → Anthropic Claude (same family)"
log_info "Step 1: Google Claude Sonnet Thinking..."
opencode run -m google/antigravity-claude-sonnet-4-5-thinking-low \
opencode run -m google/antigravity-claude-opus-4-6-thinking-low \
"Run: echo 'Test7-Google-Claude'" \
> /tmp/e2e-t7-s1.log 2>&1 || true

View File

@@ -59,7 +59,7 @@ function runTests(): void {
console.log('Test 1: Model family detection');
const geminiFamily = getModelFamily('gemini-3-pro-low');
const claudeFamily = getModelFamily('claude-opus-4-5-thinking-medium');
const claudeFamily = getModelFamily('claude-opus-4-6-thinking-medium');
if (geminiFamily === 'gemini' && claudeFamily === 'claude') {
console.log(' ✅ PASS: Model families detected correctly');
passed++;
@@ -72,7 +72,7 @@ function runTests(): void {
console.log(' Input: Gemini session with thinking + tool call containing thoughtSignature');
const result = sanitizeCrossModelPayload(geminiHistoryWithThinkingAndToolCall, {
targetModel: 'claude-opus-4-5-thinking-medium'
targetModel: 'claude-opus-4-6-thinking-medium'
});
const payload = result.payload as any;

View File

@@ -20,13 +20,13 @@ const MODELS: ModelTest[] = [
// Antigravity Claude
{ model: "google/antigravity-claude-sonnet-4-6", category: "antigravity-claude" },
{ model: "google/antigravity-claude-sonnet-4-5", category: "antigravity-claude" },
{ model: "google/antigravity-claude-sonnet-4-5-thinking-low", category: "antigravity-claude" },
{ model: "google/antigravity-claude-sonnet-4-5-thinking-medium", category: "antigravity-claude" },
{ model: "google/antigravity-claude-sonnet-4-5-thinking-high", category: "antigravity-claude" },
{ model: "google/antigravity-claude-opus-4-5-thinking-low", category: "antigravity-claude" },
{ model: "google/antigravity-claude-opus-4-5-thinking-medium", category: "antigravity-claude" },
{ model: "google/antigravity-claude-opus-4-5-thinking-high", category: "antigravity-claude" },
{ model: "google/antigravity-claude-sonnet-4-6", category: "antigravity-claude" },
{ model: "google/antigravity-claude-opus-4-6-thinking-low", category: "antigravity-claude" },
{ model: "google/antigravity-claude-opus-4-6-thinking-medium", category: "antigravity-claude" },
{ model: "google/antigravity-claude-opus-4-6-thinking-high", category: "antigravity-claude" },
{ model: "google/antigravity-claude-opus-4-6-thinking-low", category: "antigravity-claude" },
{ model: "google/antigravity-claude-opus-4-6-thinking-medium", category: "antigravity-claude" },
{ model: "google/antigravity-claude-opus-4-6-thinking-high", category: "antigravity-claude" },
{ model: "google/antigravity-claude-opus-4-6-thinking-low", category: "antigravity-claude" },
{ model: "google/antigravity-claude-opus-4-6-thinking-medium", category: "antigravity-claude" },
{ model: "google/antigravity-claude-opus-4-6-thinking-high", category: "antigravity-claude" },

View File

@@ -54,8 +54,8 @@ const ERROR_PATTERNS = [
const GEMINI_FLASH = "google/antigravity-gemini-3-flash";
const GEMINI_FLASH_CLI_QUOTA = "google/gemini-2.5-flash";
const CLAUDE_SONNET = "google/antigravity-claude-sonnet-4-5-thinking-low";
const CLAUDE_OPUS = "google/antigravity-claude-opus-4-5-thinking-low";
const CLAUDE_SONNET = "google/antigravity-claude-opus-4-6-thinking-low";
const CLAUDE_OPUS = "google/antigravity-claude-opus-4-6-thinking-low";
const SANITY_TESTS: MultiTurnTest[] = [
{