openclaw - 💡(How to fix) Fix Gemini 3.1 Pro Preview stalls with tool-heavy sessions after v2026.5.9-beta.1 (#79668) [1 comments, 2 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
openclaw/openclaw#80308Fetched 2026-05-11 03:16:28
View on GitHub
Comments
1
Participants
2
Timeline
1
Reactions
2
Timeline (top)
commented ×1
RAW_BUFFERClick to expand / collapse

Environment

  • OpenClaw v2026.5.9-beta.1 (0d3141e)
  • Linux/WSL2 6.6.87.2-microsoft-standard-WSL2 (x64)
  • Node v22.22.0
  • Google provider: direct API key, google-generative-ai API
  • Model: gemini-3.1-pro-preview

Expected behavior

PR #79668 ("retry stalled Gemini 3 preview direct API-key streams with coding tools") should resolve Gemini 3.1 Pro timeouts in sessions with coding/tool schemas.

Actual behavior

Gemini 3.1 Pro Preview consistently stalls (0 tokens generated) in any session that includes tool schemas, even clean isolated subagent sessions with no prior conversation history.

Steps to reproduce

  1. Configure gemini-3.1-pro-preview as primary model with direct API key auth
  2. Spawn an isolated subagent with a multi-tool task (exec, web_search, read, memory_search)
  3. Subagent times out with 0 tokens generated

Additional context

  • Direct Google API calls work fine (266K tokens in 11s confirmed)
  • @google/genai SDK works fine with full system prompt + 30 tools + thinking enabled
  • Fresh /new sessions with zero history also stall on Gemini 3.1 Pro
  • Gemini 2.5 Pro and 2.0 Flash work fine through the same OpenClaw provider path
  • Issue originally observed May 6, 2026 — beta.1 fix did not resolve it
  • Also discovered "heartbeat model bleed" as a secondary issue (heartbeat.isolatedSession: true fixed that separately)

Possibly related

  • #79668 (the fix this beta targets)
  • #79750 (Gemini 3 Flash catalog rows)

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

FAQ

Expected behavior

PR #79668 ("retry stalled Gemini 3 preview direct API-key streams with coding tools") should resolve Gemini 3.1 Pro timeouts in sessions with coding/tool schemas.

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING