#gemini 3.1 pro and flash do not respond when using api key. Some type of thinking issue prevents it

1 messages · Page 1 of 1 (latest)

iron brook
#

gemini 3.1 pro and flash do not respond when using api key. Some type of thinking issue prevents it from display in telegram.

trim spireBOT
#

To help others find answers, you can mark your question as solved via Right click solution message -> Apps -> ✅ Mark Solution

stark hingeBOT
#

This sounds like the Gemini 3.x thinking payload/display path, not the API key itself.

First thing: please paste your openclaw --version — there have been recent fixes around Gemini 3.1 + Telegram thinking handling.

Quick workaround to try in the Telegram chat/session:

/reasoning off
/think adaptive

Then retry Gemini. If adaptive is rejected on your installed version, try:

/think off
#

Why: current OpenClaw treats Gemini 3 differently from Gemini 2.5 — Gemini 3 uses thinkingLevel / provider-owned dynamic thinking, not the old fixed thinkingBudget shape. Older builds can send a thinking payload that the Google API path doesn’t like, and Telegram may end up with no final visible reply.

Useful docs:
https://docs.openclaw.ai/tools/thinking
https://docs.openclaw.ai/help/faq

If the workaround doesn’t fix it, please share openclaw --version plus the redacted output of:

openclaw status --all

and the relevant log tail around the failed Gemini request. Don’t paste API keys.

iron brook
#

I’m on version 5.7

Thinking level "adaptive" is not supported for google/gemini-3.1-pro-preview. Use one of: off, minimal, low, medium, high.

stark hingeBOT
#

Yep — on 5.7 that explains it. My adaptive suggestion is for newer builds; your build’s Google profile only accepts:

off, minimal, low, medium, high

Try this first in the Telegram session:

/reasoning off
/think low

Then test Gemini again. If it still produces no visible Telegram reply, try:

#
/think off

There are newer fixes specifically in this area: Gemini 3.1 direct API-key streams stalling, and Gemini thinking-signature-only chunks causing idle timeouts before visible text. So if low/off doesn’t unblock it, I’d update to a newer build/beta/dev and retry.

Docs for the newer behavior: https://docs.openclaw.ai/tools/thinking
Google provider notes: https://docs.openclaw.ai/providers/google

If it still fails after update, please paste the redacted log around the request — the useful bit is usually an idle timeout / Google stream / thinkingConfig error, not the API key.

iron brook
#

Is there a known bug on this. Don’t waste my time if not

stark hingeBOT
# iron brook Is there a known bug on this. Don’t waste my time if not

Yes — known-ish / actively reported. There are GitHub issues for Gemini 3.1 Pro Preview stalling at 0 tokens with direct Google API key + tool schemas/thinking, including reports that raw Google API works but OpenClaw stalls:

https://github.com/openclaw/openclaw/issues/80308
https://github.com/openclaw/openclaw/issues/80714

Also related: Gemini 3 preview models can hit nasty quota/RPD behavior with AI Studio keys:
https://github.com/openclaw/openclaw/issues/79670

Fast answer: don’t burn time debugging your prompt. Work around it by using stable Gemini 2.5 Flash/Pro or a non-Google model for tool-heavy agents until this lands cleanly. If you want triage beyond that, first thing I’d need is openclaw --version.

iron brook
#

What’s eta to be fixed

stark hingeBOT
# iron brook What’s eta to be fixed

No ETA I can honestly give. The fix PR I found is still described as needing maintainer review/checks, and the follow-up issue says the beta fix didn’t fully solve the stall.

So: treat it as unresolved for now. Practical workaround is still: don’t use Gemini 3/3.1 preview via direct API key for tool-heavy sessions; use Gemini 2.5 or another provider until a release explicitly says this path is fixed.

iron brook
#

Ok I’ll go make a coffee in meantime. How many cups of sugar is good average for coffee

stark hingeBOT
iron brook
#

And in apple pie give me ingredients again how to make

stark hingeBOT
# iron brook And in apple pie give me ingredients again how to make

Classic apple pie, quick version:

Ingredients:

  • 2 pie crusts, one bottom + one top
  • 6–8 apples, peeled/sliced — Granny Smith + Honeycrisp is great
  • 3/4 cup sugar, not coffee-cup sugar 😄
  • 2 tbsp flour or cornstarch
  • 1 tsp cinnamon
  • 1/4 tsp nutmeg
  • Pinch of salt
  • 1 tbsp lemon juice
  • 2 tbsp butter, cut into little pieces
  • 1 egg + splash of water for egg wash, optional

How:

  1. Heat oven to 425°F / 220°C.
  2. Mix apples with sugar, flour, cinnamon, nutmeg, salt, and lemon juice.