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)))