mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #8270] [MERGED] fix(gemini): tool rounds keep a thought signature, and the refusal names no setting #8257
Labels
No labels
android
bug
bugfix
ci
client
code freeze pause
container
dependencies
docs
documentation
duplicate
enhancement
feature
feature
feature
feature-creep
fixed-in-refactor
fixed-in-staging
good first issue
help wanted
in-pr
in-pr
needs-codeowner-decision
normal-scope
old-codebase
old-codebase
pull-request
qol
question
refactor
regression
revisit later
roadmap
scope-risk
scope-risk
server
server
shared
soup
upstream
windows
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Pasta-Devs/Marinara-Engine#8257
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/Pasta-Devs/Marinara-Engine/pull/8270
Author: @kolacheee
Created: 10/25/2026
Status: ✅ Merged
Merged: 10/25/2026
Merged by: @kolacheee
Base:
staging← Head:fix/gemini-signature-replay📝 Commits (3)
1af6e60fix(gemini): a streamed call keeps its thought signature, and its refusal names no settingbf5f500fix(openai): a Gemini 3 call sent back unsigned carries Google's placeholder6af7be0fix(client): only a missing thought signature gets the not-a-setting hint📊 Changes
5 files changed (+157 additions, -2 deletions)
View changed files
📝
packages/client/src/lib/generation-parameter-errors.ts(+6 -0)📝
packages/server/src/services/llm/providers/google.provider.ts(+6 -1)📝
packages/server/src/services/llm/providers/openai.provider.ts(+37 -1)📝
scripts/regressions/prompt.regression.ts(+13 -0)📝
scripts/regressions/provider-compat.regression.ts(+95 -0)📄 Description
Linked issue
Closes #8269
Why this change
extra_content). Gemini refused the next round with a 400, and the error told players to turn on a "Send for thought_signature" switch that does not exist.What changed
extra_content.google.thought_signature: "skip_thought_signature_validator", the value Google documents for calls it did not issue (thought signatures). Signed rounds and other models are unchanged.Validation
provider-compatandpromptregressions pass locally (new cases for all three; the streaming case fails without the fix), plusgame-mode-dice-tool,provider-quiet-tools,past-reasoning-history,provider-caching,game-tool-controls,open-issuesCONTRIBUTING.mdManual verification notes
Docs and release impact
docs-i18nbranch updated to match, or a[docs-i18n]follow-up issue opened (see CONTRIBUTING.md § Translated documentation)🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.