Skip to content

fix: restore vectors when segments are re-enabled via API - #7

Merged
jasonfish568 merged 9 commits into
mainfrom
bugfix/fix-enable-segment
Oct 11, 2026
Merged

jasonfish568 merged 9 commits into
mainfrom
bugfix/fix-enable-segment

Conversation

@jasonfish568

Copy link
Copy Markdown
Owner

Summary

Restore knowledge segment vectors when the Service API receives an enable-only patch for a disabled segment. The shared mutation service now dispatches the existing load-based enable task and preserves the segment's content, QA answer, keywords, and word counts. Requests that also edit content or keywords retain their synchronous update behavior.

This is the fork counterpart of langgenius#43865 and addresses langgenius#39988.

Validation

  • Synced with upstream main at 09ae6dc936.
  • make lint and make type-check passed.
  • 333 backend tests passed, including SQLite-backed regression coverage for paragraph, QA, and parent-child re-enabling and content/keyword edits.

From Codex

@jasonfish568
jasonfish568 merged commit 7aa0c1e into main Oct 11, 2026
1 of 9 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