Skip to content

fix: address #49 #50 #46 (embed race, LLM signature, Node 24 compat)#54

Open
zhuanxqq wants to merge 1 commit intoadoresever:mainfrom
zhuanxqq:main
Open

fix: address #49 #50 #46 (embed race, LLM signature, Node 24 compat)#54
zhuanxqq wants to merge 1 commit intoadoresever:mainfrom
zhuanxqq:main

Conversation

@zhuanxqq
Copy link
Copy Markdown

This PR fixes several open issues:

Verification:

graph-memory@1.5.8 test
vitest run

RUN v1.6.1 /Users/hl/work/graph-memory

✓ test/extract.test.ts (22 tests) 6ms
✓ test/assemble.test.ts (11 tests) 12ms
✓ test/recall-community.test.ts (13 tests) 13ms
✓ test/store.test.ts (17 tests) 19ms
✓ test/graph.test.ts (17 tests) 15ms

Test Files 5 passed (5)
Tests 80 passed (80)
Start at 20:23:00
Duration 344ms (transform 279ms, setup 0ms, collect 464ms, tests 65ms, environment 0ms, prepare 317ms): 80/80 passed

graph-memory@1.5.8 build
tsc: generated successfully

…esever#46, adoresever#44-related)

- fix(llm): support LlmConfig object as first arg in createCompleteFn
  so direct-maintain.ts works without signature mismatch (adoresever#49)

- fix(recaller): add embedReady promise to eliminate race condition
  between createEmbedFn and recall(), ensuring embedFn is always
  awaited before vector search (adoresever#50)

- fix(build): migrate to NodeNext ESM + .js extensions for Node.js v24
  compatibility, output dist/ and point package main there (adoresever#46)

- chore(ports): searched codebase; no hardcoded 18787/18789 found,
  port mismatch lives outside this repo (adoresever#44)

Tests: 80 passed. Build: dist/ generated successfully.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant