@statewavedev/chat-core@0.1.2
·
6 commits
to main
since this release
Patch Changes
-
883c676: Fix StatewaveRetrievalAdapter to match real SDK ContextBundle shape
The internal stub expected
response.memoriesbut the SDK returnsresponse.facts+response.procedures, causing retrieve() to always return 0 items. Also fixesmem.content(wasmem.text),mem.subjectId(wasmem.subject), and updates StatewavePersistenceAdapter.createEpisode to usetype/payload:{text}instead ofkind/text.Fix buildSystemPrompt to respect groundedOnly=false so the model can answer from general knowledge when evidence is insufficient, instead of always returning the insufficientContextMessage.