mirror of
https://github.com/tiennm99/goclaw.git
synced 2026-10-11 12:18:59 +00:00
Two related fixes: 1. Memory interceptor now resolves workspace from request context (per-user workspace) instead of using the static global workspace. This fixes memory writes with absolute paths under per-user workspaces (e.g. workspace/channel/userID/memory/) being bypassed and written to disk instead of the database, which also prevented KG extraction, memory indexing, and cross-session recall. 2. KG extractor: increase max_tokens 4096→8192, add retry on truncation (finish_reason=length), and support chunking for long inputs with deduplication on merge.