Skip to content

fix(providers): support unsigned thinking replay - #2567

Merged
Tioit-Wang merged 2 commits into
mainfrom
fix/issue-2426-empty-thinking-config
Nov 24, 2026
Merged

Tioit-Wang merged 2 commits into
mainfrom
fix/issue-2426-empty-thinking-config

Conversation

@Tioit-Wang

Copy link
Copy Markdown
Collaborator

Summary

  • Add an explicit per-model opt-in for replaying unsigned Anthropic thinking blocks.
  • Persist and validate the setting across shared provider sync, Host storage, plugin manifests, provider copy, and Advanced model settings.
  • Preserve current behavior when the setting is absent or false; add a second-request replay regression test and update provider specs.

Closes #2426.

Validation

  • Advanced settings/provider copy Node tests: 27 passed.
  • Agent runtime model-capability and adapter tests: 31 passed.
  • Shared provider-sync tests: 43 passed; plugin-sdk tests: 69 passed.
  • Host storage and plugin manifest tests: 4 passed; cargo fmt --check passed.
  • Desktop typecheck is blocked by unavailable linked workspace package builds in the isolated worktree. The full Host suite has known Windows-environment-only failures outside these targeted provider tests.

Allow explicit per-model opt-in for replaying unsigned Anthropic thinking blocks and preserve the setting across provider storage, sync, and plugin manifests. Keep existing defaults unchanged and cover persisted request replay.
@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying pi-desktop with  Cloudflare Pages  Cloudflare Pages

Latest commit: f46f46c
Status: ✅  Deploy successful!
Preview URL: https://71721eef.pi-desktop.pages.dev
Branch Preview URL: https://fix-issue-2426-empty-thinkin.pi-desktop.pages.dev

View logs

@Tioit-Wang
Tioit-Wang merged commit 42e9e39 into main Nov 24, 2026
8 checks passed
@Tioit-Wang
Tioit-Wang deleted the fix/issue-2426-empty-thinking-config branch November 24, 2026 17:59
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.

[Bug] 自定义 Anthropic 兼容供应商无法设置 compat.allowEmptySignature,导致无签名的思考被当作正文回放

1 participant