fix lyric pydantic bug
This commit is contained in:
1 parent
b8ae598460
commit
7a0d5a6272
1 file changed
+1
-1
@@ -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)")
|
||||
|
||||
|
||||
Reference in new issue
Block a user