Skip to content

Commit

Permalink
fix: vcr
Browse files Browse the repository at this point in the history
  • Loading branch information
SBrandeis committed Feb 6, 2025
1 parent 630462b commit d646c9d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/inference/test/vcr.ts
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ async function vcr(

const { default: tapes } = await import(TAPES_FILE);

const cacheCandidate = !url.startsWith(HF_HUB_URL);
const cacheCandidate = !url.startsWith(HF_HUB_URL) || url.startsWith(`${HF_HUB_URL}/api/inference-proxy/`);

if (VCR_MODE === MODE.PLAYBACK && cacheCandidate) {
if (!tapes[hash]) {
Expand Down

0 comments on commit d646c9d

Please sign in to comment.