From eab374ced3884a5b8521f21218e389b0e211361c Mon Sep 17 00:00:00 2001 From: sauravniraula Date: Wed, 16 Jul 2025 21:28:56 +0545 Subject: [PATCH] fix(fastapi): fixes slide content not parsing to json --- servers/fastapi/utils/llm_calls/generate_slide_content.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/servers/fastapi/utils/llm_calls/generate_slide_content.py b/servers/fastapi/utils/llm_calls/generate_slide_content.py index cb91211c..66ad3780 100644 --- a/servers/fastapi/utils/llm_calls/generate_slide_content.py +++ b/servers/fastapi/utils/llm_calls/generate_slide_content.py @@ -82,4 +82,4 @@ async def get_slide_content_from_type_and_outline( response_json_schema=slide_layout.json_schema, ), ) - return response.text + return json.loads(response.text)