Skip to content

fix(venice): replay Gemini tool signatures by turn occurrence - #119783

Merged
Patrick-Erichsen merged 11 commits into
openclaw:mainfrom
metaforismo:fix/venice-gemini-thought-signature-v2
Aug 7, 2026
Merged

Patrick-Erichsen merged 11 commits into
openclaw:mainfrom
metaforismo:fix/venice-gemini-thought-signature-v2

Conversation

@metaforismo

@metaforismo metaforismo commented Aug 6, 2026 •

Copy link
Copy Markdown
Contributor

What Problem This Solves

Venice Gemini tool turns fail on the continuation request because Venice returns an opaque signature at tool_calls[].thought_signature, requires the exact value to be replayed, and current OpenClaw only captures/replays Google's nested signature forms.

Ordinary chat succeeds, but web search, file reads, and other tool-using turns can terminate with HTTP 400 immediately after the tool itself succeeds.

Fixes #119591.

Provenance and Credit

This is a transparent carry-forward of Wen-Yong Lim's closed PR #119593, including its six original commits and authorship. The final original head is 7e1699cb53205719dfca43034796e4df5d12deef.

That final head addressed the prior P1 review by replacing transcript-global tool-call ID matching with assistant-turn occurrence matching and adding repeated-ID regressions. The current branch adds only an attribution-preserving merge commit onto current main; the original head remains its second parent.

Implementation

  1. Capture top-level Venice thought_signature values into the existing opaque thoughtSignature transcript field.
  2. Preserve structurally valid Venice Gemini signatures through transcript storage redaction; changing even token-shaped bytes breaks replay.
  3. Replay signatures only for the matching Venice route and matching assistant-turn occurrence.
  4. Downgrade unsigned Gemini 3 history together with only its matching contiguous tool-result run, preventing stale-signature or stale-result contamination when providers reuse tool_call_id values.

Google-compatible nested/function signature behavior remains unchanged.

User Impact

Venice Gemini users can complete tool-based workflows instead of receiving an HTTP 400 after successful tool execution. Occurrence-scoped matching also protects resumed and mixed-provider transcripts where different assistant turns reuse the same tool-call ID.

Persistent-State and Upgrade Compatibility

This PR does not introduce a new persisted schema or require a migration:

  • thoughtSignature is an existing optional transcript field already used by compatible provider routes;
  • old transcripts without the field remain valid;
  • signed Venice Gemini turns retain the exact opaque value byte-for-byte;
  • unsigned or mismatched Venice Gemini 3 history is converted only at request-shaping time, not rewritten on disk;
  • the conversion is route-scoped and occurrence-scoped;
  • only the immediately following contiguous tool-result run is converted with its owning assistant turn;
  • Google-compatible nested/function signatures and non-Venice routes retain their previous behavior.

The compatibility policy is deliberate: when an old or foreign transcript lacks a valid Venice signature, textual history is safer than replaying an invalid tool protocol sequence that the provider rejects with HTTP 400.

Compatibility Matrix

Stored history Continuation behavior
Venice Gemini turn with valid top-level signature replay exact opaque signature
Venice Gemini turn without signature convert that turn and its contiguous result run to textual history
Reused tool_call_id in a later assistant turn match by assistant-turn occurrence, not globally
Foreign-provider or non-Venice route do not apply Venice replay policy
Google nested/function signature preserve existing Google-compatible behavior

Focused regressions exercise each of these boundaries, including repeated IDs, mixed signed/unsigned history, foreign-provider turns, transcript sanitization, and contiguous result ownership.

Evidence

Evidence inherited from #119593 and preserved directly in its commit history:

  • direct Venice two-request probe: omitting top-level replay returned HTTP 400; replaying the exact opaque value returned HTTP 200;
  • patched OpenClaw live turn on venice/gemini-3-6-flash: the tool ran and the final continuation completed;
  • focused transport, Venice wrapper, and transcript-redaction regressions;
  • credential-shaped opaque signature survives storage sanitization byte-for-byte;
  • repeated-ID regressions exercise assistant-turn occurrence ownership.

Current-Head Safety

  • current base: d64f5b6a096088f1739ecd0e8c2f7182a0e90ce7;
  • current head: 426978a4762b5ac216d3bb81bfe7e2d5dcd950c7;
  • the original implementation history, attribution-preserving carry-forward, and current-main refresh merges;
  • exactly seven changed files;
  • no current-main edit was overwritten;
  • original head 7e1699cb53205719dfca43034796e4df5d12deef remains an ancestor and the six original Wen-Yong Lim commits retain their authorship;
  • GitHub reports the PR mergeable.

The implementation diff is patch-identical to reviewed carry-forward head 0a94d2b70b0fde844dcd5e9ae5ed2c7a1828dbad (stable patch ID 34d542abb7433f189d734b1bceb4c85599dc0c0d).

Verification

The patch-identical carry-forward head passed full hosted CI, build, lint, production/test type checks, CodeQL, CodeQL Critical Quality, OpenGrep, security checks, Workflow Sanity, and all Periphery checks.

Fresh hosted workflows for the current-main merge-refreshed head are still awaiting GitHub scheduling. No implementation patch changed during the refresh.

Maintainer Decision

The only remaining policy decision is whether to accept the route-scoped fallback for legacy unsigned Venice Gemini 3 history. The recommended behavior is the one implemented here: preserve valid signed tool protocol exactly, but degrade only invalid unsigned history to text instead of issuing a request known to fail.

No contributor-side correctness, proof, migration, or unresolved-review blocker remains. Fresh hosted checks on the merge-refreshed head and the maintainer policy decision remain.

Test Plan

  • capture top-level streamed thought_signature
  • preserve Google nested/function signature capture
  • preserve Venice opaque signatures through transcript redaction
  • replay only on the exact Venice Gemini route
  • pair replay by assistant-turn occurrence, not transcript-global ID
  • confine downgraded results to the matching contiguous result run
  • cover repeated IDs across signed, unsigned, and foreign-provider turns
  • document persisted-state and upgrade compatibility
  • preserve original authorship and provenance
  • hosted CI/security on the patch-identical reviewed head
  • current-main merge with patch identity and authorship preserved
  • fresh hosted checks on the merge-refreshed head
  • ordinary maintainer merge decision

AI Assistance

AI assistance was used to inspect the issue and closed PR history, verify that the original final head addressed the earlier P1 review, prove that current main did not overlap the affected files, and construct an attribution-preserving carry-forward. The implementation and original live proof remain Wen-Yong Lim's work.

@metaforismo
metaforismo force-pushed the fix/venice-gemini-thought-signature-v2 branch from 7a3e68c to 293aab7 Compare August 6, 2026 01:13
@openclaw-barnacle openclaw-barnacle Bot added the triage: needs-pr-context Candidate: external PR body lacks required problem context or evidence. label Aug 6, 2026
@clawsweeper clawsweeper Bot added proof: sufficient ClawSweeper judged the real behavior proof convincing. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. P1 High-priority user-facing bug, regression, or broken workflow. merge-risk: 🚨 compatibility 🚨 May break existing users, config, migrations, defaults, or upgrade paths. labels Aug 6, 2026
@clawsweeper clawsweeper Bot added rating: 🧂 unranked krab Not merge-ready due to missing proof or serious correctness/safety concerns. status: 📣 needs proof The PR needs real behavior proof before ClawSweeper can clear the contributor ask. and removed proof: sufficient ClawSweeper judged the real behavior proof convincing. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. labels Aug 6, 2026
@clawsweeper

clawsweeper Bot commented Aug 6, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: needs maintainer review before merge. Reviewed August 6, 2026, 10:36 PM ET / August 7, 2026, 02:36 UTC.

ClawSweeper review

What this changes

The PR captures Venice Gemini’s top-level tool signature, preserves it in transcripts, and replays it only for the matching historical tool-turn occurrence.

Regression provenance

Possible regression — probable (reproduction; failure trace). No predecessor PR is attributed.

Merge readiness

⚠️ Ready for maintainer review - 2 items remain

No blocking findings: current main still lacks Venice’s top-level signature capture and Venice-local replay, while this PR repairs that path with route- and occurrence-scoped transcript handling. The explicitly accepted compatibility policy and supplied exact-head Gateway/restart proof support normal merge handling rather than further repair work.

Priority: P1
Reviewed head: 70bb6554d1e76b35a8770095facae49495ee141a

Review scores

Measure Result What it means
Overall readiness 🦞 diamond lobster (5/6) Focused provider and transcript coverage plus maintainer-recorded boundary proof support a strong merge-ready repair.
Proof confidence 🦞 diamond lobster (5/6) Sufficient (logs): The supplied maintainer comment records an isolated Gateway and real provider-wrapper path with repeated tool-call IDs, ordered replay, restart, persisted-session resume, and successful completion.
Patch quality 🦞 diamond lobster (5/6) No actionable review findings were identified.

Verification

Check Result Evidence
Real behavior Verified Sufficient (logs): The supplied maintainer comment records an isolated Gateway and real provider-wrapper path with repeated tool-call IDs, ordered replay, restart, persisted-session resume, and successful completion.
Evidence reviewed 5 items Current-main gap: Current main extracts only Google nested or function-level thought signatures, so it cannot retain Venice’s top-level tool-call field.
Owner-boundary repair: The PR captures the generic OpenAI-compatible top-level field while keeping Venice route selection, occurrence matching, and unsigned-history fallback inside the Venice plugin.
Sibling and persistence coverage: The PR limits opaque-token preservation to Venice Gemini OpenAI-completions routes and tests capture, redaction, foreign routes, mixed history, repeated IDs, and Gemini 2.5 behavior.
Findings None None.
Security None None.

How this fits together

The shared OpenAI-compatible transport turns provider stream chunks into transcript tool calls, and the Venice provider plugin shapes those stored calls into a later Venice continuation request. This change carries Venice’s opaque signature through that path without changing other providers’ request behavior.

flowchart LR
  A[Venice streamed tool call] --> B[Shared transport capture]
  B --> C[Agent transcript]
  C --> D[Venice provider wrapper]
  D --> E[Route and turn matching]
  E --> F[Venice continuation request]
Loading

Before merge

  • Resolve merge risk (P1) - The OpenAI SDK source and Venice documentation could not be independently rechecked because the dependency source was unavailable locally and network DNS failed; the supplied maintainer contract and Testbox evidence remain the available proof.
  • Complete next step (P2) - No mechanical repair remains; proceed through the repository’s normal exact-head merge gate.
Agent review details

Security

None.

PR surface

Source +198, Tests +458. Total +656 across 7 files.

View PR surface stats
Area Files Added Removed Net
Source 4 207 9 +198
Tests 3 458 0 +458
Docs 0 0 0 0
Config 0 0 0 0
Generated 0 0 0 0
Other 0 0 0 0
Total 7 665 9 +656

Review metrics

Metric Value Why it matters
Production vs test delta production +207/-9, tests +458/-0 The production increase implements a provider protocol and persisted-transcript compatibility boundary; focused regressions cover its route, occurrence, and restart-sensitive cases.

Stored data model

Persistent data-model change detected: serialized state: extensions/venice/stream.ts. Confirm migration or upgrade compatibility proof before merge.

Root-cause cluster

Relationship: fixed_by_candidate
Canonical: #119591
Summary: This PR is the open candidate fix for the canonical Venice Gemini continuation failure.

Members:

Proposal only: this assessment does not dispatch repair, suppress jobs, mutate sibling items, close, or merge anything.

Merge-risk options

Maintainer options:

  1. Land the accepted compatibility policy (recommended)
    Preserve valid Venice signatures exactly and use the tested textual fallback only for invalid unsigned Venice Gemini 3 historical tool batches.

Technical review

Best possible solution:

Merge the Venice-local replay policy after the normal exact-head merge gate, retaining the existing transcript field and the narrowly scoped textual fallback for invalid unsigned legacy Venice Gemini 3 history.

Do we have a high-confidence way to reproduce the issue?

Yes: current-main source proves the top-level Venice signature is not captured, and the linked report plus maintainer Gateway/restart evidence give a concrete tool-turn continuation path.

Is this the best way to solve the issue?

Yes: generic transport capture belongs in the shared OpenAI-compatible layer, while Venice-only replay and fallback remain in the owning provider plugin; sibling Google and foreign routes stay outside the policy.

AGENTS.md: found and applied where relevant.

Codex review notes: model internal, reasoning high; reviewed against 21e9634f1084.

Labels

Label changes:

  • add rating: 🦞 diamond lobster: Overall readiness is 🦞 diamond lobster; proof is 🦞 diamond lobster and patch quality is 🦞 diamond lobster.
  • remove rating: 🐚 platinum hermit: Current PR rating is rating: 🦞 diamond lobster, so this older rating label is no longer current.

Label justifications:

  • P1: Without this repair, Venice Gemini tool-using agent turns can fail immediately after a successful tool result.
  • merge-risk: 🚨 compatibility: Unsigned historical Venice Gemini 3 tool batches now become textual history at continuation time instead of sending a provider-rejected protocol sequence.
  • merge-risk: 🚨 session-state: The request wrapper reads persisted assistant tool turns and their contiguous tool-result runs when rebuilding resumed continuations.
  • rating: 🦞 diamond lobster: Overall readiness is 🦞 diamond lobster; proof is 🦞 diamond lobster and patch quality is 🦞 diamond lobster.
  • status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR. Sufficient (logs): The supplied maintainer comment records an isolated Gateway and real provider-wrapper path with repeated tool-call IDs, ordered replay, restart, persisted-session resume, and successful completion.
  • proof: sufficient: Contributor real behavior proof is sufficient. The supplied maintainer comment records an isolated Gateway and real provider-wrapper path with repeated tool-call IDs, ordered replay, restart, persisted-session resume, and successful completion.

Evidence

What I checked:

  • Current-main gap: Current main extracts only Google nested or function-level thought signatures, so it cannot retain Venice’s top-level tool-call field. (packages/ai/src/transports/openai-completions-transport.ts:1560, 21e9634f1084)
  • Owner-boundary repair: The PR captures the generic OpenAI-compatible top-level field while keeping Venice route selection, occurrence matching, and unsigned-history fallback inside the Venice plugin. (extensions/venice/stream.ts:52, 70bb6554d1e7)
  • Sibling and persistence coverage: The PR limits opaque-token preservation to Venice Gemini OpenAI-completions routes and tests capture, redaction, foreign routes, mixed history, repeated IDs, and Gemini 2.5 behavior. (src/agents/transcript-redact.ts:132, 70bb6554d1e7)
  • Implementation provenance: The original functional series is attributed to Wen-Yong Lim; later carry-forward and main-refresh commits retain that implementation on the current PR head. (extensions/venice/stream.ts:52, 7e1699cb5320)
  • Real-behavior and policy evidence: Patrick-Erichsen’s PR comment accepts the request-time textual fallback and reports an isolated Gateway, embedded agent, Venice wrapper, OpenAI SDK, repeated-ID, and restart/resume proof on the carried-forward implementation. (6f205265471f)

Likely related people:

  • Wen-Yong Lim: Authored the six-commit Venice signature capture, persistence, fallback, and occurrence-matching series carried into this PR. (role: original implementation author; confidence: high; commits: 138d146f1975, 86c3f202fd55, 7e1699cb5320; files: extensions/venice/stream.ts, packages/ai/src/transports/openai-completions-transport.ts, src/agents/transcript-redact.ts)
  • Patrick-Erichsen: Carried the branch onto current main and recorded the accepted fallback policy with production-boundary proof. (role: current-head contributor and compatibility-policy reviewer; confidence: high; commits: 426978a4762b, 70bb6554d1e7; files: extensions/venice/stream.ts)
  • Shakker: Local blame associates the existing pre-fix Venice and transport path with this area, though shallow history limits stronger provenance. (role: recent adjacent source contributor; confidence: low; commits: e118e607bc6; files: extensions/venice/stream.ts, packages/ai/src/transports/openai-completions-transport.ts)

Rating scale

Score Internal tier Crab rank Meaning
6/6 S 🦀 challenger crab Exceptional readiness
5/6 A 🦞 diamond lobster Very strong readiness
4/6 B 🐚 platinum hermit Good normal PR; ordinary maintainer review
3/6 C 🦐 gold shrimp Useful, but confidence is limited
2/6 D 🦪 silver shellfish Proof or implementation needs work
1/6 F 🧂 unranked krab Not merge-ready
N/A NA 🌊 off-meta tidepool Rating does not apply

Overall follows the weaker of proof and patch quality.
Shiny media proof means a screenshot, video, or linked artifact directly shows the changed behavior. Runtime, network, CSP, and security claims still need visible diagnostics.

Workflow

  • ClawSweeper keeps one durable marker-backed review comment per issue or PR.
  • Re-runs edit this comment so the latest verdict, findings, and automation markers stay together instead of adding duplicate bot comments.
  • A fresh review can be triggered by eligible @clawsweeper re-review comments, exact-item GitHub events, scheduled/background review runs, or manual workflow dispatch.
  • PR/issue authors and users with repository write access can comment @clawsweeper re-review or @clawsweeper re-run on an open PR or issue to request a fresh review only.
  • Maintainers can also comment @clawsweeper review to request a fresh review only.
  • Fresh-review commands do not start repair, autofix, rebase, CI repair, or automerge.
  • Maintainer-only repair and merge flows require explicit commands such as @clawsweeper autofix, @clawsweeper automerge, @clawsweeper fix ci, or @clawsweeper address review.
  • Maintainers can comment @clawsweeper explain to ask for more context, or @clawsweeper stop to stop active automation.

History

Review history (4 earlier review cycles)
  • reviewed 2026-08-06T01:49:44.404Z sha 293aab76ba1170569ee2ad2cc25635dbbc28af05 :: needs real behavior proof before merge. :: none
  • reviewed 2026-08-06T02:42:16.360Z sha 293aab76ba1170569ee2ad2cc25635dbbc28af05 :: needs maintainer review before merge. :: none
  • reviewed 2026-08-06T14:37:03.676Z sha 0a94d2b :: needs maintainer review before merge. :: none
  • reviewed 2026-08-06T16:22:34.252Z sha 0a94d2b :: needs maintainer review before merge. :: none

@clawsweeper clawsweeper Bot added proof: sufficient ClawSweeper judged the real behavior proof convincing. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. merge-risk: 🚨 session-state 🚨 May lose, corrupt, stale, or mis-associate session, agent, or context state. and removed rating: 🧂 unranked krab Not merge-ready due to missing proof or serious correctness/safety concerns. status: 📣 needs proof The PR needs real behavior proof before ClawSweeper can clear the contributor ask. labels Aug 6, 2026
@metaforismo
metaforismo force-pushed the fix/venice-gemini-thought-signature-v2 branch from 293aab7 to 0a94d2b Compare August 6, 2026 14:00

Copy link
Copy Markdown
Contributor Author

@clawsweeper re-review

Current exact head: 0a94d2b70b0fde844dcd5e9ae5ed2c7a1828dbad.

The branch is now zero-behind current main and GitHub reports it mergeable. Every hosted exact-head workflow is green: full CI, CodeQL, CodeQL Critical Quality, OpenGrep, Workflow Sanity, and all Periphery checks.

The carry-forward preserves Wen-Yong Lim's six original commits and final reviewed head 7e1699cb53205719dfca43034796e4df5d12deef as the second parent; no affected upstream file was overwritten.

Please review this current attribution-preserving head.

@clawsweeper

clawsweeper Bot commented Aug 6, 2026 •

Copy link
Copy Markdown
Contributor

🦞🧹
ClawSweeper re-review requested.

I asked ClawSweeper to review this item again.
Action: item re-review queued (workflow sweep.yml, event repository_dispatch).
Result: when the review finishes, ClawSweeper will create the durable review comment if needed or update the existing comment in place.

Re-review progress:

Copy link
Copy Markdown
Contributor Author

@clawsweeper re-review

The PR body now directly addresses the remaining compatibility and stored-state questions on exact head 0a94d2b70b0fde844dcd5e9ae5ed2c7a1828dbad.

It now documents and ties to the existing regressions that:

  • no new persisted schema or migration is introduced;
  • thoughtSignature is an existing optional transcript field;
  • legacy unsigned transcripts remain valid and are not rewritten on disk;
  • request-time fallback is Venice-route-scoped, assistant-turn-occurrence-scoped, and limited to the owning contiguous result run;
  • Google-compatible and foreign-provider histories remain unchanged;
  • valid Venice signatures are preserved byte-for-byte.

A compatibility matrix and explicit maintainer decision are included. CI/security remain fully green, the branch is mergeable and zero behind, and there are no open inline review threads or contributor-side blockers.

Please reassess patch quality and the stored-data/compatibility classification against the updated evidence.

Copy link
Copy Markdown
Contributor Author

Maintainer handoff for @steipete: this P1 Venice repair is now zero-behind, mergeable, fully green, proof-sufficient, and has no open review threads or contributor-side blockers.

The original six commits and Wen-Yong Lim's authorship are preserved. The remaining decision is narrowly documented in the PR body: accept the Venice-only request-time fallback that converts legacy unsigned Gemini 3 tool batches to text rather than replaying a protocol sequence known to fail with HTTP 400. Valid signatures, Google-compatible history, foreign-provider history, and persisted transcripts remain unchanged.

I also completed a fresh exact-head diff audit of the capture, redaction, occurrence matching, and contiguous result ownership paths and found no additional actionable issue.

Copy link
Copy Markdown
Contributor Author

@clawsweeper re-review

Current head: aceda20aa3e1dfd0fb4834c90a5335c3c2574ad9, current base: 9fdae501b83f7b4ef733edc5a5f813e531b2726d.

The implementation diff remains patch-identical to reviewed carry-forward head 0a94d2b70b0fde844dcd5e9ae5ed2c7a1828dbad (stable patch ID 34d542abb7433f189d734b1bceb4c85599dc0c0d). Wen-Yong Lim's original head 7e1699cb53205719dfca43034796e4df5d12deef remains an ancestor and all six original commits retain their authorship.

The body now accurately separates prior green hosted evidence from the merge-refreshed head. Fresh workflows have not yet been scheduled. Please reassess the current head; the documented Venice-only legacy-history policy remains the maintainer decision.

@clawsweeper

clawsweeper Bot commented Aug 6, 2026

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper picked this up.

Command router queued. I will update this comment with the next step.

Copy link
Copy Markdown
Contributor Author

@clawsweeper re-review

Final refreshed head: 6f205265471fdd667ae0252df1ac25107bacfca5; current base: db90dff1396fecbf7029e9e9ea19d6c6ca3e644e.

The implementation diff still has stable patch ID 34d542abb7433f189d734b1bceb4c85599dc0c0d, identical to reviewed carry-forward head 0a94d2b70b0fde844dcd5e9ae5ed2c7a1828dbad. Wen-Yong Lim's original six commits and authorship remain in the ancestry; only current-main refresh merges were added. Please review this final current-main head. The Venice-only legacy unsigned-history fallback remains the documented maintainer decision.

@clawsweeper

clawsweeper Bot commented Aug 6, 2026 •

Copy link
Copy Markdown
Contributor

🦞🧹
ClawSweeper re-review requested.

I asked ClawSweeper to review this item again.
Action: item re-review queued (workflow sweep.yml, event repository_dispatch).
Result: when the review finishes, ClawSweeper will create the durable review comment if needed or update the existing comment in place.

@Patrick-Erichsen Patrick-Erichsen self-assigned this Aug 6, 2026
@Patrick-Erichsen

Copy link
Copy Markdown
Contributor

Maintainer decision and final-head proof for 6f205265471fdd667ae0252df1ac25107bacfca5:

  • I accept the documented Venice Gemini 3 unsigned-history compatibility policy: preserve valid signatures exactly, but convert only invalid unsigned or mismatched historical tool batches and their owned contiguous results to text at request-shaping time. Persisted transcripts remain unchanged.
  • Blacksmith Testbox proof passed through a real isolated Gateway, embedded agent, Venice wrapper, OpenAI SDK, and loopback provider. Two turns reused raw call_0 with distinct signatures; continuations replayed one and then both signatures in occurrence order. After Gateway restart, the resumed persisted session replayed both again and completed RESUME_OK.
  • OpenAI SDK 6.49.0 source preserves provider extension fields from raw SSE JSON, and the current Venice Chat Completions documentation requires thought_signature to be passed back exactly as received.
  • Fresh whole-branch autoreview found no actionable P0-P2 issue.

Exact-head release-gate CI is queued at https://github.com/openclaw/openclaw/actions/runs/31129433778. Proceeding through the native prepare and merge gates when it is green.

@openclaw-barnacle openclaw-barnacle Bot removed the triage: needs-pr-context Candidate: external PR body lacks required problem context or evidence. label Aug 6, 2026
@clawsweeper clawsweeper Bot added rating: 🦞 diamond lobster Very strong PR readiness with only minor maintainer review expected. and removed rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. labels Aug 7, 2026
@Patrick-Erichsen
Patrick-Erichsen merged commit 2e0fe80 into openclaw:main Aug 7, 2026
123 checks passed
vincentkoc added a commit to VACInc/openclaw that referenced this pull request Aug 7, 2026
* origin/main:
  refactor(test): compress repetitive fixtures in mega-tests, batch 2 (openclaw#120124)
  refactor(ui): adopt shared chat-host fixture across chat suites (openclaw#120120)
  fix(ci): provision native Android resources for frozen current-contract targets (openclaw#120081)
  fix: preserve agent delivery identity (openclaw#120108)
  fix(qqbot): add cause-specific setup guidance (openclaw#119780)
  fix(venice): replay Gemini tool signatures by turn occurrence (openclaw#119783)
  fix(gateway): yield before TTS status diagnostics (openclaw#119788)
  fix: gateway restart fails and leaves the macOS LaunchAgent unloaded when the gateway drains active work (openclaw#116875)
  fix(clickclack): show native agent progress while replying (openclaw#116683)
  fix: unhandled rejection crashes process when raw stream write fails (openclaw#119400)
  fix: prevent duplicate outbound delivery during concurrent recovery (openclaw#119966)

# Conflicts:
#	src/agents/embedded-agent-runner/run.incomplete-turn.test.ts
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Aug 7, 2026
…aw#119783)

* fix(venice): replay Gemini tool-call signatures

* fix(venice): preserve Gemini signatures in transcripts

* fix(venice): handle mixed Gemini tool history

* fix(venice): downgrade unsigned Gemini tool history

* fix(venice): scope Gemini tool replay by turn

* fix(venice): narrow replay occurrence guards

---------

Co-authored-by: Wen-Yong Lim <[email protected]>
Co-authored-by: Patrick Erichsen <[email protected]>
obviyus added a commit that referenced this pull request Nov 19, 2026
…routes (#186942)

Root cause: `packages/ai/src/transports/openai-completions-stream.ts:69` (`extractToolCallThoughtSignature`) never reads LiteLLM's `tool_calls[].provider_specific_fields.thought_signature`, and `packages/ai/src/transports/openai-completions-replay.ts:37` returns early for every non-Google endpoint, so a LiteLLM `openai-completions` route never sends Gemini's thought signature back. Strict tool-call id sanitization also cuts LiteLLM's id copy, so LiteLLM falls back to `skip_thought_signature_validator` and Gemini stops reasoning after the first tool result.

Fixes #186842.

Thanks @bluet for the detailed report and the re-test on 2026.11.5, and @wr-web for the fix. Their commits are kept as they are.

## What Problem This Solves

A custom `openai-completions` provider pointed at LiteLLM in front of Gemini 3 loses the thought signature on every tool call:

- LiteLLM returns the signature in `tool_calls[].provider_specific_fields.thought_signature` ([LiteLLM Gemini 3 guide, "Thought Signatures"](https://docs.litellm.ai/blog/gemini_3)). It may also add it to the tool-call id as `__thought__<sig>`, but only when `thought_signature_in_tool_call_id` is on.
- On the next request LiteLLM reads the signature back from `provider_specific_fields` on the tool call (or its function), then from the id suffix ([`get_thought_signature_from_tool`](https://github.com/BerriAI/litellm/blob/795baa77e5a26828f205c9d6f8389e60cbe36847/litellm/litellm_core_utils/prompt_templates/factory.py#L1307)). If neither has it, LiteLLM sends a dummy `skip_thought_signature_validator` signature.
- Gemini 3 needs the signatures from earlier responses sent back: a missing one means HTTP 400, and the skip value "should be a last resort as it will negatively impact model performance" ([Vertex AI, Thought signatures](https://cloud.google.com/vertex-ai/generative-ai/docs/thought-signatures)).

OpenClaw never captured that field and never sent it back, and strict id sanitization cut the id copy down to 40 alphanumeric characters. The reporter saw 0 reasoning tokens on every request after a tool result.

## User Impact

On LiteLLM-fronted Gemini routes, the signature now goes back with each tool call, so Gemini keeps reasoning after tool results. Requests to plain OpenAI-compatible providers, Google endpoints and Venice do not change.

## Why This Change Was Made

- Capture (contributor): `extractToolCallThoughtSignature` also reads `provider_specific_fields.thought_signature` into the existing `toolCall.thoughtSignature`.
- Replay (contributor): on non-Google endpoints, `injectToolCallThoughtSignatures` sends back only signatures issued on the same route (same api, provider and model), in `provider_specific_fields.thought_signature`. Cross-route signatures, the skip-validator fallback, truncated signatures and JSON reasoning details (OpenRouter) are never sent there. Google endpoints keep `extra_content.google` as before, and id sanitization is unchanged.
- Venice (added on top): Venice already replays its own Gemini signatures in its top-level `thought_signature` field, matched per assistant turn because Venice reuses tool-call ids (#119783). Without this change Venice requests would also get the generic `provider_specific_fields` copy, which is keyed by id. The Venice adapter now drops that copy, so Venice requests stay byte-identical to main.
- Merged current `main`.

Line deltas against the merge base: production +24/-9 (stream +5/-0, replay +15/-8, Venice +3), tests +65/-56.

## Evidence

Real Gateway from source (`gateway run` + `agent --message` through the Gateway, isolated profile and state). It runs against a local LiteLLM-shaped fixture: the tool-call turn carries `provider_specific_fields.thought_signature` and the `__thought__` id suffix, and the fixture reads the continuation request the way LiteLLM does. Fixture key only. Base and candidate run from the same checkout path so request bodies can be compared.

| continuation request after the `read` tool result | main `c027899907ab` | this branch `e113e72c6bc7` |
|---|---|---|
| replayed tool-call id | `call6055144thoughtQ2lZQjRIMUZ4ZmlYdHVyZT` (signature cut off) | same |
| `provider_specific_fields.thought_signature` | absent | the issued signature |
| what LiteLLM would send Gemini | `skip_thought_signature_validator` | the real signature |
| plain OpenAI-compatible provider, both requests | | byte-identical to main |
| Venice Gemini, both requests | | byte-identical to main |

Tests: the signature table in `openai-completions-replay.google-signatures.test.ts` fails 2 rows on main (LiteLLM capture, LiteLLM same-route replay). The Venice reused-id case fails on main once the transport field is in its input. All of these pass on this branch, and so do `agent-tools.prefix-stability.test.ts` and all `openai-completions*.test.ts` files.

Observed proof lines: #186942 (comment)

Not covered: no run against a real LiteLLM and Vertex deployment (no Vertex credentials). The reporter's direct LiteLLM check shows that sending the signature back brings reasoning back (64/188/160 vs 0/0/0 reasoning tokens).

Merge danger: two-way door. The change only shapes outgoing requests and writes no state, so a revert fully undoes it. Blast radius: `openai-completions` routes to non-Google endpoints that issue thought signatures (LiteLLM, plus any other proxy that returns one) now get `provider_specific_fields.thought_signature` back on same-route tool calls.

Co-authored-by: Ayaan Zaidi <[email protected]>
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Nov 19, 2026
…routes (openclaw#186942)

Root cause: `packages/ai/src/transports/openai-completions-stream.ts:69` (`extractToolCallThoughtSignature`) never reads LiteLLM's `tool_calls[].provider_specific_fields.thought_signature`, and `packages/ai/src/transports/openai-completions-replay.ts:37` returns early for every non-Google endpoint, so a LiteLLM `openai-completions` route never sends Gemini's thought signature back. Strict tool-call id sanitization also cuts LiteLLM's id copy, so LiteLLM falls back to `skip_thought_signature_validator` and Gemini stops reasoning after the first tool result.

Fixes openclaw#186842.

Thanks @bluet for the detailed report and the re-test on 2026.11.5, and @wr-web for the fix. Their commits are kept as they are.

## What Problem This Solves

A custom `openai-completions` provider pointed at LiteLLM in front of Gemini 3 loses the thought signature on every tool call:

- LiteLLM returns the signature in `tool_calls[].provider_specific_fields.thought_signature` ([LiteLLM Gemini 3 guide, "Thought Signatures"](https://docs.litellm.ai/blog/gemini_3)). It may also add it to the tool-call id as `__thought__<sig>`, but only when `thought_signature_in_tool_call_id` is on.
- On the next request LiteLLM reads the signature back from `provider_specific_fields` on the tool call (or its function), then from the id suffix ([`get_thought_signature_from_tool`](https://github.com/BerriAI/litellm/blob/795baa77e5a26828f205c9d6f8389e60cbe36847/litellm/litellm_core_utils/prompt_templates/factory.py#L1307)). If neither has it, LiteLLM sends a dummy `skip_thought_signature_validator` signature.
- Gemini 3 needs the signatures from earlier responses sent back: a missing one means HTTP 400, and the skip value "should be a last resort as it will negatively impact model performance" ([Vertex AI, Thought signatures](https://cloud.google.com/vertex-ai/generative-ai/docs/thought-signatures)).

OpenClaw never captured that field and never sent it back, and strict id sanitization cut the id copy down to 40 alphanumeric characters. The reporter saw 0 reasoning tokens on every request after a tool result.

## User Impact

On LiteLLM-fronted Gemini routes, the signature now goes back with each tool call, so Gemini keeps reasoning after tool results. Requests to plain OpenAI-compatible providers, Google endpoints and Venice do not change.

## Why This Change Was Made

- Capture (contributor): `extractToolCallThoughtSignature` also reads `provider_specific_fields.thought_signature` into the existing `toolCall.thoughtSignature`.
- Replay (contributor): on non-Google endpoints, `injectToolCallThoughtSignatures` sends back only signatures issued on the same route (same api, provider and model), in `provider_specific_fields.thought_signature`. Cross-route signatures, the skip-validator fallback, truncated signatures and JSON reasoning details (OpenRouter) are never sent there. Google endpoints keep `extra_content.google` as before, and id sanitization is unchanged.
- Venice (added on top): Venice already replays its own Gemini signatures in its top-level `thought_signature` field, matched per assistant turn because Venice reuses tool-call ids (openclaw#119783). Without this change Venice requests would also get the generic `provider_specific_fields` copy, which is keyed by id. The Venice adapter now drops that copy, so Venice requests stay byte-identical to main.
- Merged current `main`.

Line deltas against the merge base: production +24/-9 (stream +5/-0, replay +15/-8, Venice +3), tests +65/-56.

## Evidence

Real Gateway from source (`gateway run` + `agent --message` through the Gateway, isolated profile and state). It runs against a local LiteLLM-shaped fixture: the tool-call turn carries `provider_specific_fields.thought_signature` and the `__thought__` id suffix, and the fixture reads the continuation request the way LiteLLM does. Fixture key only. Base and candidate run from the same checkout path so request bodies can be compared.

| continuation request after the `read` tool result | main `1ff8a7df373b` | this branch `e113e72c6bc7` |
|---|---|---|
| replayed tool-call id | `call6055144thoughtQ2lZQjRIMUZ4ZmlYdHVyZT` (signature cut off) | same |
| `provider_specific_fields.thought_signature` | absent | the issued signature |
| what LiteLLM would send Gemini | `skip_thought_signature_validator` | the real signature |
| plain OpenAI-compatible provider, both requests | | byte-identical to main |
| Venice Gemini, both requests | | byte-identical to main |

Tests: the signature table in `openai-completions-replay.google-signatures.test.ts` fails 2 rows on main (LiteLLM capture, LiteLLM same-route replay). The Venice reused-id case fails on main once the transport field is in its input. All of these pass on this branch, and so do `agent-tools.prefix-stability.test.ts` and all `openai-completions*.test.ts` files.

Observed proof lines: openclaw#186942 (comment)

Not covered: no run against a real LiteLLM and Vertex deployment (no Vertex credentials). The reporter's direct LiteLLM check shows that sending the signature back brings reasoning back (64/188/160 vs 0/0/0 reasoning tokens).

Merge danger: two-way door. The change only shapes outgoing requests and writes no state, so a revert fully undoes it. Blast radius: `openai-completions` routes to non-Google endpoints that issue thought signatures (LiteLLM, plus any other proxy that returns one) now get `provider_specific_fields.thought_signature` back on same-route tool calls.

Co-authored-by: Ayaan Zaidi <[email protected]>
RomneyDa added a commit that referenced this pull request Nov 19, 2026
…routes (#186942)

Root cause: `packages/ai/src/transports/openai-completions-stream.ts:69` (`extractToolCallThoughtSignature`) never reads LiteLLM's `tool_calls[].provider_specific_fields.thought_signature`, and `packages/ai/src/transports/openai-completions-replay.ts:37` returns early for every non-Google endpoint, so a LiteLLM `openai-completions` route never sends Gemini's thought signature back. Strict tool-call id sanitization also cuts LiteLLM's id copy, so LiteLLM falls back to `skip_thought_signature_validator` and Gemini stops reasoning after the first tool result.

Fixes #186842.

Thanks @bluet for the detailed report and the re-test on 2026.11.5, and @wr-web for the fix. Their commits are kept as they are.

## What Problem This Solves

A custom `openai-completions` provider pointed at LiteLLM in front of Gemini 3 loses the thought signature on every tool call:

- LiteLLM returns the signature in `tool_calls[].provider_specific_fields.thought_signature` ([LiteLLM Gemini 3 guide, "Thought Signatures"](https://docs.litellm.ai/blog/gemini_3)). It may also add it to the tool-call id as `__thought__<sig>`, but only when `thought_signature_in_tool_call_id` is on.
- On the next request LiteLLM reads the signature back from `provider_specific_fields` on the tool call (or its function), then from the id suffix ([`get_thought_signature_from_tool`](https://github.com/BerriAI/litellm/blob/795baa77e5a26828f205c9d6f8389e60cbe36847/litellm/litellm_core_utils/prompt_templates/factory.py#L1307)). If neither has it, LiteLLM sends a dummy `skip_thought_signature_validator` signature.
- Gemini 3 needs the signatures from earlier responses sent back: a missing one means HTTP 400, and the skip value "should be a last resort as it will negatively impact model performance" ([Vertex AI, Thought signatures](https://cloud.google.com/vertex-ai/generative-ai/docs/thought-signatures)).

OpenClaw never captured that field and never sent it back, and strict id sanitization cut the id copy down to 40 alphanumeric characters. The reporter saw 0 reasoning tokens on every request after a tool result.

## User Impact

On LiteLLM-fronted Gemini routes, the signature now goes back with each tool call, so Gemini keeps reasoning after tool results. Requests to plain OpenAI-compatible providers, Google endpoints and Venice do not change.

## Why This Change Was Made

- Capture (contributor): `extractToolCallThoughtSignature` also reads `provider_specific_fields.thought_signature` into the existing `toolCall.thoughtSignature`.
- Replay (contributor): on non-Google endpoints, `injectToolCallThoughtSignatures` sends back only signatures issued on the same route (same api, provider and model), in `provider_specific_fields.thought_signature`. Cross-route signatures, the skip-validator fallback, truncated signatures and JSON reasoning details (OpenRouter) are never sent there. Google endpoints keep `extra_content.google` as before, and id sanitization is unchanged.
- Venice (added on top): Venice already replays its own Gemini signatures in its top-level `thought_signature` field, matched per assistant turn because Venice reuses tool-call ids (#119783). Without this change Venice requests would also get the generic `provider_specific_fields` copy, which is keyed by id. The Venice adapter now drops that copy, so Venice requests stay byte-identical to main.
- Merged current `main`.

Line deltas against the merge base: production +24/-9 (stream +5/-0, replay +15/-8, Venice +3), tests +65/-56.

## Evidence

Real Gateway from source (`gateway run` + `agent --message` through the Gateway, isolated profile and state). It runs against a local LiteLLM-shaped fixture: the tool-call turn carries `provider_specific_fields.thought_signature` and the `__thought__` id suffix, and the fixture reads the continuation request the way LiteLLM does. Fixture key only. Base and candidate run from the same checkout path so request bodies can be compared.

| continuation request after the `read` tool result | main `c027899907ab` | this branch `e113e72c6bc7` |
|---|---|---|
| replayed tool-call id | `call6055144thoughtQ2lZQjRIMUZ4ZmlYdHVyZT` (signature cut off) | same |
| `provider_specific_fields.thought_signature` | absent | the issued signature |
| what LiteLLM would send Gemini | `skip_thought_signature_validator` | the real signature |
| plain OpenAI-compatible provider, both requests | | byte-identical to main |
| Venice Gemini, both requests | | byte-identical to main |

Tests: the signature table in `openai-completions-replay.google-signatures.test.ts` fails 2 rows on main (LiteLLM capture, LiteLLM same-route replay). The Venice reused-id case fails on main once the transport field is in its input. All of these pass on this branch, and so do `agent-tools.prefix-stability.test.ts` and all `openai-completions*.test.ts` files.

Observed proof lines: #186942 (comment)

Not covered: no run against a real LiteLLM and Vertex deployment (no Vertex credentials). The reporter's direct LiteLLM check shows that sending the signature back brings reasoning back (64/188/160 vs 0/0/0 reasoning tokens).

Merge danger: two-way door. The change only shapes outgoing requests and writes no state, so a revert fully undoes it. Blast radius: `openai-completions` routes to non-Google endpoints that issue thought signatures (LiteLLM, plus any other proxy that returns one) now get `provider_specific_fields.thought_signature` back on same-route tool calls.

Co-authored-by: Ayaan Zaidi <[email protected]>

(cherry picked from commit 826a79b)

Co-authored-by: RomneyDa <[email protected]>
github-actions Bot pushed a commit to clawhaven/openclaw that referenced this pull request Nov 23, 2026
…routes (openclaw#186942)

Root cause: `packages/ai/src/transports/openai-completions-stream.ts:69` (`extractToolCallThoughtSignature`) never reads LiteLLM's `tool_calls[].provider_specific_fields.thought_signature`, and `packages/ai/src/transports/openai-completions-replay.ts:37` returns early for every non-Google endpoint, so a LiteLLM `openai-completions` route never sends Gemini's thought signature back. Strict tool-call id sanitization also cuts LiteLLM's id copy, so LiteLLM falls back to `skip_thought_signature_validator` and Gemini stops reasoning after the first tool result.

Fixes openclaw#186842.

Thanks @bluet for the detailed report and the re-test on 2026.11.5, and @wr-web for the fix. Their commits are kept as they are.

## What Problem This Solves

A custom `openai-completions` provider pointed at LiteLLM in front of Gemini 3 loses the thought signature on every tool call:

- LiteLLM returns the signature in `tool_calls[].provider_specific_fields.thought_signature` ([LiteLLM Gemini 3 guide, "Thought Signatures"](https://docs.litellm.ai/blog/gemini_3)). It may also add it to the tool-call id as `__thought__<sig>`, but only when `thought_signature_in_tool_call_id` is on.
- On the next request LiteLLM reads the signature back from `provider_specific_fields` on the tool call (or its function), then from the id suffix ([`get_thought_signature_from_tool`](https://github.com/BerriAI/litellm/blob/795baa77e5a26828f205c9d6f8389e60cbe36847/litellm/litellm_core_utils/prompt_templates/factory.py#L1307)). If neither has it, LiteLLM sends a dummy `skip_thought_signature_validator` signature.
- Gemini 3 needs the signatures from earlier responses sent back: a missing one means HTTP 400, and the skip value "should be a last resort as it will negatively impact model performance" ([Vertex AI, Thought signatures](https://cloud.google.com/vertex-ai/generative-ai/docs/thought-signatures)).

OpenClaw never captured that field and never sent it back, and strict id sanitization cut the id copy down to 40 alphanumeric characters. The reporter saw 0 reasoning tokens on every request after a tool result.

## User Impact

On LiteLLM-fronted Gemini routes, the signature now goes back with each tool call, so Gemini keeps reasoning after tool results. Requests to plain OpenAI-compatible providers, Google endpoints and Venice do not change.

## Why This Change Was Made

- Capture (contributor): `extractToolCallThoughtSignature` also reads `provider_specific_fields.thought_signature` into the existing `toolCall.thoughtSignature`.
- Replay (contributor): on non-Google endpoints, `injectToolCallThoughtSignatures` sends back only signatures issued on the same route (same api, provider and model), in `provider_specific_fields.thought_signature`. Cross-route signatures, the skip-validator fallback, truncated signatures and JSON reasoning details (OpenRouter) are never sent there. Google endpoints keep `extra_content.google` as before, and id sanitization is unchanged.
- Venice (added on top): Venice already replays its own Gemini signatures in its top-level `thought_signature` field, matched per assistant turn because Venice reuses tool-call ids (openclaw#119783). Without this change Venice requests would also get the generic `provider_specific_fields` copy, which is keyed by id. The Venice adapter now drops that copy, so Venice requests stay byte-identical to main.
- Merged current `main`.

Line deltas against the merge base: production +24/-9 (stream +5/-0, replay +15/-8, Venice +3), tests +65/-56.

## Evidence

Real Gateway from source (`gateway run` + `agent --message` through the Gateway, isolated profile and state). It runs against a local LiteLLM-shaped fixture: the tool-call turn carries `provider_specific_fields.thought_signature` and the `__thought__` id suffix, and the fixture reads the continuation request the way LiteLLM does. Fixture key only. Base and candidate run from the same checkout path so request bodies can be compared.

| continuation request after the `read` tool result | main `c027899907ab` | this branch `e113e72c6bc7` |
|---|---|---|
| replayed tool-call id | `call6055144thoughtQ2lZQjRIMUZ4ZmlYdHVyZT` (signature cut off) | same |
| `provider_specific_fields.thought_signature` | absent | the issued signature |
| what LiteLLM would send Gemini | `skip_thought_signature_validator` | the real signature |
| plain OpenAI-compatible provider, both requests | | byte-identical to main |
| Venice Gemini, both requests | | byte-identical to main |

Tests: the signature table in `openai-completions-replay.google-signatures.test.ts` fails 2 rows on main (LiteLLM capture, LiteLLM same-route replay). The Venice reused-id case fails on main once the transport field is in its input. All of these pass on this branch, and so do `agent-tools.prefix-stability.test.ts` and all `openai-completions*.test.ts` files.

Observed proof lines: openclaw#186942 (comment)

Not covered: no run against a real LiteLLM and Vertex deployment (no Vertex credentials). The reporter's direct LiteLLM check shows that sending the signature back brings reasoning back (64/188/160 vs 0/0/0 reasoning tokens).

Merge danger: two-way door. The change only shapes outgoing requests and writes no state, so a revert fully undoes it. Blast radius: `openai-completions` routes to non-Google endpoints that issue thought signatures (LiteLLM, plus any other proxy that returns one) now get `provider_specific_fields.thought_signature` back on same-route tool calls.

Co-authored-by: Ayaan Zaidi <[email protected]>

(cherry picked from commit 826a79b)
Release adaptation: approved 2026.11.7 models replay; see models-hook-safe-v2/REPORT.md.
Co-authored-by: RomneyDa <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

agents Agent runtime and tooling extensions: venice merge-risk: 🚨 compatibility 🚨 May break existing users, config, migrations, defaults, or upgrade paths. merge-risk: 🚨 session-state 🚨 May lose, corrupt, stale, or mis-associate session, agent, or context state. P1 High-priority user-facing bug, regression, or broken workflow. proof: sufficient ClawSweeper judged the real behavior proof convincing. rating: 🦞 diamond lobster Very strong PR readiness with only minor maintainer review expected. size: L status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: Venice Gemini tool calls fail after tool execution

2 participants