Skip to content

fix: don't abort on thinking-only responses from reasoning models#42

Merged
namastex888 merged 1 commit intodevfrom
fix/thinking-empty-response
Mar 30, 2026
Merged

fix: don't abort on thinking-only responses from reasoning models#42
namastex888 merged 1 commit intodevfrom
fix/thinking-empty-response

Conversation

@namastex888
Copy link
Copy Markdown
Collaborator

Gemini 3.1 flash-lite thinking-only iterations no longer trigger the empty response abort. Closes #30.

Gemini 3.1 flash-lite produces thinking tokens without visible text
on early iterations. The empty response guard (issue #14) was counting
these as "empty" and aborting after 3. Now checks if output tokens > 0
before counting as truly empty.

Closes #30
@namastex888 namastex888 merged commit 1dc925e into dev Mar 30, 2026
@gemini-code-assist
Copy link
Copy Markdown

Warning

You have reached your daily quota limit. Please wait up to 24 hours and I will start processing your requests again!

@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented Mar 30, 2026

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 354997a4-1424-49b7-81df-2b48059c679d

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch fix/thinking-empty-response

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants