mirror of
https://github.com/moltbot/moltbot.git
synced 2026-05-13 15:47:28 +00:00
test: dedupe memory lancedb provider assertion
This commit is contained in:
@@ -448,7 +448,7 @@ describe("memory plugin e2e", () => {
|
||||
expect(providerOptions.provider).toBe("openai");
|
||||
expect(providerOptions.fallback).toBe("none");
|
||||
expect(providerOptions.model).toBe("text-embedding-3-small");
|
||||
expect(createProvider.mock.calls.at(0)?.[0]).not.toHaveProperty("remote");
|
||||
expect(providerOptions).not.toHaveProperty("remote");
|
||||
expect(embedQuery).toHaveBeenCalledWith("project memory");
|
||||
} finally {
|
||||
vi.doUnmock("openclaw/plugin-sdk/memory-core-host-engine-embeddings");
|
||||
|
||||
Reference in New Issue
Block a user