test(embeddings): align runtime fixture casts

This commit is contained in:
Vincent Koc
2026-07-10 21:49:03 -07:00
committed by Vincent Koc
parent a74c92f27c
commit 8b8e66cfa4
2 changed files with 3 additions and 3 deletions
@@ -151,7 +151,7 @@ describe("createLmstudioEmbeddingProvider preload context length", () => {
},
},
},
} as OpenClawConfig,
} as unknown as OpenClawConfig,
provider: "lmstudio-spark",
model: `lmstudio-spark/${EMBEDDING_MODEL}`,
fallback: "none",
@@ -196,7 +196,7 @@ describe("createLmstudioEmbeddingProvider preload context length", () => {
},
},
},
} as OpenClawConfig,
} as unknown as OpenClawConfig,
provider: "lmstudio-spark",
model: `lmstudio-spark/${EMBEDDING_MODEL}`,
fallback: "none",
+1 -1
View File
@@ -28,7 +28,7 @@ const hostRuntime = {
llm: {
acquireLocalService: async () => undefined,
},
} as OpenClawPluginApi["runtime"];
} as unknown as OpenClawPluginApi["runtime"];
function registerMemoryCoreRuntime(): MemoryPluginRuntime {
let runtime: MemoryPluginRuntime | undefined;