fix(ci): resolve docs lint and test typing regressions

This commit is contained in:
Peter Steinberger
2026-03-03 00:50:19 +00:00
parent 47083460ea
commit e930517154
4 changed files with 19 additions and 4 deletions

View File

@@ -98,7 +98,7 @@ describe("runCapability skips tiny audio files", () => {
cache,
transcribeAudio: async (req) => {
transcribeCalled = true;
return { text: "should not happen", model: req.model };
return { text: "should not happen", model: req.model ?? "whisper-1" };
},
});
@@ -154,7 +154,7 @@ describe("runCapability skips tiny audio files", () => {
cache,
transcribeAudio: async (req) => {
transcribeCalled = true;
return { text: "hello world", model: req.model };
return { text: "hello world", model: req.model ?? "whisper-1" };
},
});