fix: restore gate after rebase

This commit is contained in:
Peter Steinberger
2026-03-08 18:39:37 +00:00
parent c5095153b0
commit 3ada30e670
4 changed files with 26 additions and 14 deletions

View File

@@ -914,7 +914,7 @@ describe("applyExtraParamsToAgent", () => {
compat: {
requiresOpenAiAnthropicToolPayload: true,
},
} as Model<"anthropic-messages">;
} as unknown as Model<"anthropic-messages">;
const context: Context = { messages: [] };
void agent.streamFn?.(model, context, {});

View File

@@ -157,5 +157,5 @@ export function resolveTranscriptToolCallIdMode(
if (modelIncludesAnyHint(modelId, capabilities.transcriptToolCallIdModelHints)) {
return "strict9";
}
return mode === "strict9" ? mode : undefined;
return undefined;
}