mirror of
https://github.com/openclaw/openclaw.git
synced 2026-08-27 12:56:01 -06:00
test(embeddings): align runtime fixture casts
This commit is contained in:
@@ -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",
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user