Channels: add thread-aware model overrides

This commit is contained in:
Shadow
2026-02-20 19:26:25 -06:00
committed by GitHub
parent ee8dd40509
commit f555835b09
53 changed files with 1379 additions and 1398 deletions

View File

@@ -24,9 +24,7 @@ async function withAudioFixture(
await fs.writeFile(tmpPath, Buffer.from("RIFF"));
const ctx: MsgContext = { MediaPath: tmpPath, MediaType: "audio/wav" };
const media = normalizeMediaAttachments(ctx);
const cache = createMediaAttachmentCache(media, {
localPathRoots: [os.tmpdir()],
});
const cache = createMediaAttachmentCache(media);
try {
await run({ ctx, media, cache });

View File

@@ -17,9 +17,7 @@ describe("runCapability deepgram provider options", () => {
await fs.writeFile(tmpPath, Buffer.from("RIFF"));
const ctx: MsgContext = { MediaPath: tmpPath, MediaType: "audio/wav" };
const media = normalizeMediaAttachments(ctx);
const cache = createMediaAttachmentCache(media, {
localPathRoots: [os.tmpdir()],
});
const cache = createMediaAttachmentCache(media);
let seenQuery: Record<string, string | number | boolean> | undefined;
let seenBaseUrl: string | undefined;