From 534f90a529e5cbbfcfef6c4455139df0e093d464 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=9CNaeel=E2=80=9D?= Date: Tue, 23 Jun 2026 07:05:29 +0400 Subject: [PATCH] =?UTF-8?q?v1.0.112:=20fix=20Lucee=20UPPERCASE=20keys=20in?= =?UTF-8?q?=20=5Ffetch=5Fprompt=20(OK=E2=86=92ok,=20BODY=E2=86=92body)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- deploy/llm_prompt.py | 2 ++ index.cfm | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/deploy/llm_prompt.py b/deploy/llm_prompt.py index 23dfcd3..650ae36 100644 --- a/deploy/llm_prompt.py +++ b/deploy/llm_prompt.py @@ -80,6 +80,8 @@ def _fetch_prompt(role: str) -> dict | None: ) resp.raise_for_status() data = resp.json() + # Lucee serializeJSON → UPPERCASE keys, normalize to lowercase + data = {k.lower(): v for k, v in data.items()} if data.get("ok") and data.get("body"): return {"id": data.get("id", ""), "body": data["body"]} except Exception: diff --git a/index.cfm b/index.cfm index 074e982..a1ea686 100644 --- a/index.cfm +++ b/index.cfm @@ -75,7 +75,7 @@
Nubes - Сверка договоров — LLM AI-driven Event Sourcing v1.0.111 — Lucee + Сверка договоров — LLM AI-driven Event Sourcing v1.0.112 — Lucee