mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-08 06:21:26 +00:00
fix(ci): resolve docs lint and test typing regressions
This commit is contained in:
@@ -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" };
|
||||
},
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user