Support per-chunk timeline durations
tests / test (push) Canceled after 0s
tests / windows-storage (push) Canceled after 0s

This commit is contained in:
2026-11-10 11:46:19 +00:00
parent 3716b02a57
commit 92135c0db0
13 changed files with 153 additions and 58 deletions
+3 -2
View File
@@ -197,7 +197,7 @@ def _apply_review_decode_scope(
from ..v2.sequence import _terminal_flf_merge_enabled
from .plan import prepare_physical_decode_entries
terminal_merged = sequence_complete and _terminal_flf_merge_enabled(
terminal_merged = sequence_complete and len(set(assembly_plan.get("chunk_durations") or [float(chunk_seconds)] * int(configured_chunks))) == 1 and _terminal_flf_merge_enabled(
multi_chunk_flf=(
first_frame is not None
and last_frame is not None
@@ -643,7 +643,8 @@ class H3ContinuumSamplerV3:
configured_chunks = int(chunks)
completed_chunks = len(entries)
sequence_complete = completed_chunks == configured_chunks
terminal_merged = sequence_complete and _terminal_flf_merge_enabled(
prompt_durations = [float(entry.get("plan", {}).get("requested_extend_seconds", chunk_seconds)) for entry in entries]
terminal_merged = sequence_complete and len(set(prompt_durations)) == 1 and _terminal_flf_merge_enabled(
multi_chunk_flf=(
first_frame is not None
and advanced_values["last_frame"] is not None