mirror of
https://github.com/tiennm99/goclaw.git
synced 2026-06-10 00:13:42 +00:00
258e378593
- Add ChunkOverlap to MemoryConfig (default 200) for context continuity at chunk boundaries during semantic search - Implement overlap logic in ChunkText() with safety clamp at maxChunkLen/2 - Wire per-agent chunk_len/chunk_overlap overrides at IndexDocument time via RunContext, falling back to global PGMemoryConfig defaults - Add sync.RWMutex to PGMemoryStore for thread-safe config updates - Persist chunk settings via system_configs (embedding.max_chunk_len, embedding.chunk_overlap) with runtime refresh on config change - Remove dead per-agent embedding_provider/embedding_model fields from agent Memory UI (system uses single global provider) - Show Memory section always-visible in agent config (no toggle needed) - Add chunk_overlap fields to System Settings modal and Config AI Defaults - Update i18n (en/vi/zh) for all new and removed keys