mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-09 01:48:28 +00:00
chore: Fix types in tests 44/N.
This commit is contained in:
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user