From 189c9ced9d190667348ec0fdb6f19524855225f5 Mon Sep 17 00:00:00 2001 From: yujj128 Date: Wed, 16 Jul 2025 17:32:40 +0800 Subject: [PATCH] =?UTF-8?q?fix=EF=BC=9Aquery=5Favali=5Froom=E4=BC=98?= =?UTF-8?q?=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- yj_room_agent/LLM/ai_service.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/yj_room_agent/LLM/ai_service.py b/yj_room_agent/LLM/ai_service.py index a39713c..b5ab101 100644 --- a/yj_room_agent/LLM/ai_service.py +++ b/yj_room_agent/LLM/ai_service.py @@ -857,9 +857,9 @@ def process_chat(covers_id:str,user_id: str, user_input: str, params: dict): text = check_and_process_think(content) json_content = extract_json_blocks(text) logger.info("jsoncontent----------{0}".format(json_content)) - if not json_content: - json_content = extract_json_blocks(content) - logger.info("new_jsoncontent----------{0}".format(json_content)) + # if not json_content: + # json_content = extract_json_blocks(content) + # logger.info("new_jsoncontent----------{0}".format(json_content)) for json_item in json_content: logger.info("jsonitem:{0} type{1}".format(json_item,type(json_item)))