From 37c71e85c5a540fdb5c6e8b229bfa5e8c563b27f Mon Sep 17 00:00:00 2001 From: gihyeon Date: Wed, 25 Mar 2026 15:18:11 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20SyntaxError=20-=20f-string=20=EC=95=88?= =?UTF-8?q?=EC=9D=98=20=EB=A6=AC=ED=84=B0=EB=9F=B4=20=EC=A4=91=EA=B4=84?= =?UTF-8?q?=ED=98=B8=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit f"...'{' 없음..." → "...'{' 없음..." + raw[:300] f-string 안에서 { 리터럴은 구문 오류를 발생시킴 --- ai_planner.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ai_planner.py b/ai_planner.py index 3474c64..b12782c 100644 --- a/ai_planner.py +++ b/ai_planner.py @@ -240,7 +240,7 @@ class AIPlanner: # 4. { } 범위 추출 (중첩 괄호 고려) start = text.find("{") if start == -1: - raise ValueError(f"JSON 파싱 실패 ('{' 없음):\n{raw[:300]}") + raise ValueError("JSON 파싱 실패 ('{' 없음):\n" + raw[:300]) # 중첩 괄호 카운팅으로 정확한 끝 위치 찾기 depth = 0