chore: Fix types in tests 44/N.

This commit is contained in:
cpojer
2026-02-17 15:49:00 +09:00
parent 688f86bf28
commit 52ad28e097
20 changed files with 44 additions and 32 deletions

View File

@@ -264,7 +264,7 @@ describe("createOllamaStreamFn", () => {
try {
const streamFn = createOllamaStreamFn("http://ollama-host:11434/v1/");
const signal = new AbortController().signal;
const stream = streamFn(
const stream = await streamFn(
{
id: "qwen3:32b",
api: "ollama",
@@ -321,7 +321,7 @@ describe("createOllamaStreamFn", () => {
try {
const streamFn = createOllamaStreamFn("http://ollama-host:11434");
const stream = streamFn(
const stream = await streamFn(
{
id: "qwen3:32b",
api: "ollama",