fix(music-lab): cache-buster query 제거 + DALL·E prompt에 background_keyword 활용
1. video.py _container_to_nas, orchestrator.py _local_path에서 path 변환 전 ?쿼리 strip — 이전 commit 20c5268의 cache-buster ?v=...가 Windows path로 그대로 전달되어 input_validation 실패하던 문제 픽스 2. cover.py _generate_with_dalle가 background_keyword를 prompt에 포함 — 사용자가 PipelineStartModal에서 '배경 키워드' 입력 시 처음부터 원하는 분위기 cover 생성
This commit is contained in:
@@ -75,3 +75,9 @@ def test_resolve_input_compile_job_done_status():
|
||||
result = _resolve_input(pipeline)
|
||||
assert result["audio_path"] == "/app/data/compiles/7.mp3"
|
||||
assert result["title"] == "Done Mix"
|
||||
|
||||
|
||||
def test_local_path_strips_cache_buster():
|
||||
from app.pipeline.orchestrator import _local_path
|
||||
# /media/videos/3/cover.jpg?v=... → /app/data/videos/3/cover.jpg
|
||||
assert _local_path("/media/videos/3/cover.jpg?v=20260510065642") == "/app/data/videos/3/cover.jpg"
|
||||
|
||||
Reference in New Issue
Block a user