Repeat shared context in every chunk
This commit is contained in:
@@ -33,6 +33,9 @@ def test_builder_emits_one_absolute_timeline_prompt_from_clip_local_slots():
|
||||
assert "[5-9s]" not in result
|
||||
assert "overall_soundscape: Quiet street ambience." in result
|
||||
assert "non_diegetic_music: Low cinematic pulse." in result
|
||||
assert result.count("Preserve the same character and environment.") == 2
|
||||
assert result.count("overall_soundscape: Quiet street ambience.") == 2
|
||||
assert result.count("non_diegetic_music: Low cinematic pulse.") == 2
|
||||
|
||||
|
||||
def test_normalizer_orders_slots_fills_missing_clips_and_shares_duration():
|
||||
@@ -63,4 +66,5 @@ def test_node_schema_has_single_string_output_and_serialized_editor_state():
|
||||
assert DumasH3SequencePromptBuilder.RETURN_TYPES == ("STRING",)
|
||||
assert schema["timeline_json"][1]["multiline"] is True
|
||||
result = DumasH3SequencePromptBuilder().build(1, 4, "Directive", json.dumps(default_sequence(1, 4)), "N/A", "N/A")
|
||||
assert result[0].startswith("Directive\n\noverall_soundscape:")
|
||||
assert result[0].startswith("[0-4s]\nDirective")
|
||||
assert result[0].count("overall_soundscape:") == 1
|
||||
|
||||
Reference in New Issue
Block a user