mirror of
https://github.com/NoeFabris/opencode-antigravity-auth.git
synced 2026-05-13 15:46:05 +00:00
hive: merge 05-update-scripts-e2e-and-cross-model (squashed)
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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" },
|
||||
|
||||
@@ -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[] = [
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user