Skip to content

fix: suppress LLM chain-of-thought leaking into responses - #5

Merged
ZakiKurdya merged 1 commit into
mainfrom
feat/ui-polish-and-sheets-fix
Apr 27, 2026
Merged

fix: suppress LLM chain-of-thought leaking into responses#5
ZakiKurdya merged 1 commit into
mainfrom
feat/ui-polish-and-sheets-fix

Conversation

@ZakiKurdya

Copy link
Copy Markdown
Owner

Add an immutable rule to the system prompt forbidding any scratchpad output (Persona/Language/Constraint-check lines). Also filter Gemini thinking-model parts tagged thought: true so they never reach the frontend regardless of which model variant is active.

Add an immutable rule to the system prompt forbidding any scratchpad
output (Persona/Language/Constraint-check lines). Also filter Gemini
thinking-model parts tagged `thought: true` so they never reach the
frontend regardless of which model variant is active.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@vercel

vercel Bot commented Apr 27, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
handala Ready Ready Preview, Comment Apr 27, 2026 9:27pm

@ZakiKurdya
ZakiKurdya merged commit f313087 into main Apr 27, 2026
3 checks passed
@ZakiKurdya
ZakiKurdya deleted the feat/ui-polish-and-sheets-fix branch April 27, 2026 21:29
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.

1 participant