fix(agents): preserve native Anthropic replay tool ids (#61254)

* fix(agents): preserve native Anthropic replay tool ids

* docs(changelog): note native Anthropic replay ids

* fix(agents): preserve native Anthropic replay ids selectively
This commit is contained in:
Vincent Koc
2026-04-05 09:53:52 +01:00
committed by GitHub
parent a9c52dd935
commit 4613f121ad
17 changed files with 233 additions and 15 deletions

View File

@@ -583,6 +583,7 @@ export type ProviderReplayPolicy = {
sanitizeMode?: ProviderReplaySanitizeMode;
sanitizeToolCallIds?: boolean;
toolCallIdMode?: ProviderReplayToolCallIdMode;
preserveNativeAnthropicToolUseIds?: boolean;
preserveSignatures?: boolean;
sanitizeThoughtSignatures?: {
allowBase64Only?: boolean;