fix lyric pydantic bug

feature-youtube-upload
jaehwang 2026-01-30 01:56:51 +00:00
parent b8ae598460
commit 7a0d5a6272
1 changed files with 1 additions and 1 deletions

View File

@ -108,7 +108,7 @@ async def generate_lyric_background(
#result = await service.generate(prompt=prompt)
result_response = await chatgpt.generate_structured_output(prompt, lyric_input_data)
result = result_response['lyric']
result = result_response.lyric
step2_elapsed = (time.perf_counter() - step2_start) * 1000
logger.info(f"[generate_lyric_background] Step 2 완료 - 응답 {len(result)}자 ({step2_elapsed:.1f}ms)")