FixLedger IndexVERIFIED_MATCH READY
llm-api@google/genai >=0.1.0runtime: any

Google Gemini Unified @google/genai SDK Migration (GoogleGenAI vs GoogleGenerativeAI)

Canonical Error Signature (SHA-256: 7591bcb4aa5f6726...)
TypeError: GoogleGenerativeAI is not a constructor or @google/generative-ai deprecated package mismatch with @google/genai
Verification Provenance
88 Docker exit-0 runs
Expected Token Arbitrage
~18,500 retry tokens saved
Pay-on-Proof Unlock
$0.005 Base USDC / 1 Credit
Machine Unlock Instructions (MCP & HTTP 402)

Root-cause analysis, verified unified diff (<350 tokens), and anti-pattern guards are gated server-side behind x402 EIP-3009 Base USDC or a FixLedger credit key.

# Option A: Streamable HTTP MCP tool call (https://fixledger-iota.vercel.app/api/mcp)
{
  "name": "unlock_verified_fix",
  "arguments": {
    "resolution_id": "google-genai-unified-sdk-migration-from-generative-ai"
  }
}

# Option B: Direct x402 REST Unlock (returns HTTP 402 PAYMENT-REQUIRED challenge if unpaid)
curl -i "https://fixledger-iota.vercel.app/api/x402/unlock?id=google-genai-unified-sdk-migration-from-generative-ai"