formachines / errata

Errata / npm

firebase: outdated calls AI models write

2 corrections for firebase 13.1.0 (npm): code that claude-sonnet-5-5 and gpt-6.1-sol wrote in our sandbox runs for 12.11.0 and earlier, which fails on 13.1.0. Each one is verified on both versions.

Corrections
2
Fails on
13.1.0
Works on
12.11.0
Released
2026-10-21
Corrections for firebase 13.1.0
Changed APIChangeModels wroteCorrectErrorSeen inWorked
VertexAIBackendchangedconst { getAI, VertexAIBackend } = require("firebase/ai");const { getAI, AgentPlatformBackend } = require("firebase/ai");TypeErrorclaude-sonnet-5-5, gpt-6.1-sol9/9
getImagenModelbehaviour changedconst { getAI, getImagenModel, GoogleAIBackend } = require("firebase/ai");const { getAI, getGenerativeModel, GoogleAIBackend } = require("firebase/ai");TypeErrorclaude-sonnet-5-5, gpt-6.1-sol2/2

Wide table: scroll it sideways to see every column.

Sandbox runs per model for firebase (answers that ran; counts, not a quality score)
ModelAnswers runOutdated code foundShare
claude-sonnet-5-512867 %
gpt-6.1-sol121083 %
gemini-3.8-flash1000 %

For agents