fix(llm): drop removed dispatch option from recorded cache tests (#26900)

This commit is contained in:
Kit Langton
2026-05-11 11:48:30 -04:00
committed by GitHub
parent 19fce2bc6f
commit 52f7ba7d4d
4 changed files with 9 additions and 12 deletions
@@ -31,10 +31,9 @@ const recorded = recordedTests({
provider: "anthropic",
protocol: "anthropic-messages",
requires: ["ANTHROPIC_API_KEY"],
// Two identical requests in one cassette — match by recording order so the
// second call replays the cached-hit interaction.
// Two identical requests in one cassette — replay walks the cassette in
// recording order so the second call replays the cached-hit interaction.
options: {
dispatch: "sequential",
redactor: Redactor.defaults({ requestHeaders: { allow: ["content-type", "anthropic-version"] } }),
},
})