Discord: use cached session store in think autocomplete

This commit is contained in:
ted 2026-03-17 11:26:48 -07:00
parent d775c9499e
commit b169d912a1

View File

@ -105,5 +105,7 @@ describe("discord native /think autocomplete", () => {
const choices = respond.mock.calls[0]?.[0] ?? [];
const values = choices.map((choice) => choice.value);
expect(values).toContain("xhigh");
expect(mocks.loadSessionStore).toHaveBeenCalledWith("/tmp/openclaw-sessions.mock.json");
expect(mocks.loadSessionStore.mock.calls[0]?.[1]).toBeUndefined();
});
});