Skip to content

Commit 4af0954

Browse files
authored
fix(slack): remove unused unsafe auth fetch helper
1 parent 33f897b commit 4af0954

2 files changed

Lines changed: 1 addition & 6 deletions

File tree

scripts/check-memory-fd-repro.mjs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -331,7 +331,6 @@ export function writeConfig({ homeDir, workspaceDir, port, token }) {
331331
const configDir = path.join(homeDir, ".openclaw");
332332
fs.mkdirSync(configDir, { recursive: true });
333333
const configPath = path.join(configDir, "openclaw.json");
334-
const indexPath = path.join(configDir, "memory", "main.sqlite");
335334
const config = {
336335
agents: {
337336
defaults: {
@@ -340,7 +339,6 @@ export function writeConfig({ homeDir, workspaceDir, port, token }) {
340339
provider: "none",
341340
model: "",
342341
store: {
343-
path: indexPath,
344342
vector: { enabled: false },
345343
},
346344
sync: {

test/scripts/check-memory-fd-repro.test.ts

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -198,13 +198,10 @@ describe("check-memory-fd-repro", () => {
198198
const config = JSON.parse(fs.readFileSync(configPath, "utf8"));
199199
const memorySearch = config.agents.defaults.memorySearch;
200200

201+
expect(memorySearch.store).toEqual({ vector: { enabled: false } });
201202
expect(memorySearch).toMatchObject({
202203
provider: "none",
203204
model: "",
204-
store: {
205-
path: path.join(homeDir, ".openclaw", "memory", "main.sqlite"),
206-
vector: { enabled: false },
207-
},
208205
sync: {
209206
onSearch: false,
210207
onSessionStart: false,

0 commit comments

Comments
 (0)