From d806cd6b853aa2602aa1f3f6fbd237c75b71466c Mon Sep 17 00:00:00 2001 From: can1357 Date: Thu, 2 Jul 2026 23:51:18 +0200 Subject: [PATCH] fix(catalog): preserved deepseek anthropic replay --- packages/catalog/src/compat/anthropic.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/catalog/src/compat/anthropic.ts b/packages/catalog/src/compat/anthropic.ts index 717ed5198..7bc1777c0 100644 --- a/packages/catalog/src/compat/anthropic.ts +++ b/packages/catalog/src/compat/anthropic.ts @@ -144,7 +144,7 @@ export function buildAnthropicCompat(spec: ModelSpec<"anthropic-messages">): Res // AI Inference / Foundry `.(inference|services).ai.azure.com`) // are excluded automatically because they can be recognised by provider // id or baseUrl marker. - replayUnsignedThinking: !signingEndpoint && Boolean(spec.reasoning), + replayUnsignedThinking: !signingEndpoint && (Boolean(spec.reasoning) || modelMatchesHost(spec, "deepseekFamily")), escapeBuiltinToolNames: modelMatchesHost(spec, "umans"), }; applyCompatOverrides(compat, spec.compat);