[1.125.2] — 2026-07-22
Fixed
- Deep research over Gemini: HTTP 502 (
MALFORMED_FUNCTION_CALL) (#145, contributed by @Alien10140) — the live/api/deepprompt told the model to "Use WebFetch / WebSearch" and to save the brief to a file, but headless API providers have no tool channel; Gemini answered with a function call instead of text, surfacing as an empty HTTP 502.buildDeepPromptandbundleProjectContextnow take aheadlessflag: live runs (Anthropic/Gemini/fallback cascade) get a no-tools prompt that writes the brief from the inlined context, while the copy-paste prompt for Claude Code keeps its tool instructions. +1 test intests/critical-fixes.test.mjs.
Changed
- Gemini defaults bumped past the deprecated
gemini-2.0-flash(#144, contributed by @Alien10140) — the Config dropdown, the server fallback ingemini.mjs(which silently disagreed with the hint), the OpenRouter fallback chain,config.geminiModelHint×17 and the help guide ×17 now all namegemini-3.6-flash. The new drift gatetests/gemini-default-model.test.mjs(+5 tests) pins every surface to the same literal — the suite is now 1957 tests.