fix(14-04): correct Segment constructor parameter

Change Segment(index=1, ...) to Segment(id=1, ...) to match
the actual Segment class definition in parser.py.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-03-23 22:43:10 +08:00
parent ffc6b85081
commit 1eacc23c99
+1 -1
View File
@@ -581,7 +581,7 @@ class UnifiedSegmentationStrategy:
from kb_workflow.srt.parser import Segment
virtual_segment = Segment(
index=1,
id=1,
start_time=0.0,
end_time=1.0,
text=chunk_text