Skip to content

Make local_files chunking opt-in instead of default - #14

Merged
ali-ulu merged 1 commit into
mainfrom
claude/atlaso-ai-research-7m2kn3
Aug 4, 2026
Merged

Make local_files chunking opt-in instead of default#14
ali-ulu merged 1 commit into
mainfrom
claude/atlaso-ai-research-7m2kn3

Conversation

@ali-ulu

@ali-ulu ali-ulu commented Aug 4, 2026

Copy link
Copy Markdown
Owner

Summary

  • local_files connector no longer chunks by default — each file becomes one memory regardless of size.
  • Pass chunk_size (and optionally overlap, default 200) in the connector config to opt back into splitting large files.
  • Same behavior applied to JSON files (no truncation unless chunk_size is set).

Test plan

  • tests/test_robustness_hardening.py (chunk_size validation) — 8/8 passed
  • tests/test_connector_sync.py — could not run locally, missing fastapi/mcp packages in this environment (unrelated to this change)

Generated by Claude Code

Files were always split at 2000 chars with 200 overlap. Now each file
becomes one memory regardless of size unless chunk_size is explicitly
passed in the connector config.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0186k3gs6jRSfTtaCjjY9Xj7
@ali-ulu
ali-ulu merged commit c77f517 into main Aug 4, 2026
2 checks passed
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.

2 participants