From e901d3c9d65cbcccc7c012db2e23ca886af74df0 Mon Sep 17 00:00:00 2001 From: lanceyq <1982376970@qq.com> Date: Wed, 21 Jan 2026 18:40:58 +0800 Subject: [PATCH] [fix]Modify the "Implicit and Emotional Caching" prompt message --- api/app/controllers/emotion_controller.py | 2 +- api/app/controllers/implicit_memory_controller.py | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/api/app/controllers/emotion_controller.py b/api/app/controllers/emotion_controller.py index b5cd7250..919ac695 100644 --- a/api/app/controllers/emotion_controller.py +++ b/api/app/controllers/emotion_controller.py @@ -232,7 +232,7 @@ async def get_emotion_suggestions( ) return fail( BizCode.NOT_FOUND, - "建议缓存不存在或已过期,请调用 /generate_suggestions 接口生成新建议", + "建议缓存不存在或已过期,请右上角刷新生成新建议", "" ) diff --git a/api/app/controllers/implicit_memory_controller.py b/api/app/controllers/implicit_memory_controller.py index 62d1e428..a53290e2 100644 --- a/api/app/controllers/implicit_memory_controller.py +++ b/api/app/controllers/implicit_memory_controller.py @@ -162,7 +162,7 @@ async def get_preference_tags( api_logger.info(f"用户 {user_id} 的画像缓存不存在或已过期") return fail( BizCode.NOT_FOUND, - "画像缓存不存在或已过期,请调用 /generate_profile 接口生成新画像", + "画像缓存不存在或已过期,请右上角刷新生成新画像", "" ) @@ -233,7 +233,7 @@ async def get_dimension_portrait( api_logger.info(f"用户 {user_id} 的画像缓存不存在或已过期") return fail( BizCode.NOT_FOUND, - "画像缓存不存在或已过期,请调用 /generate_profile 接口生成新画像", + "画像缓存不存在或已过期,请右上角刷新生成新画像", "" ) @@ -281,7 +281,7 @@ async def get_interest_area_distribution( api_logger.info(f"用户 {user_id} 的画像缓存不存在或已过期") return fail( BizCode.NOT_FOUND, - "画像缓存不存在或已过期,请调用 /generate_profile 接口生成新画像", + "画像缓存不存在或已过期,请右上角刷新生成新画像", "" ) @@ -333,7 +333,7 @@ async def get_behavior_habits( api_logger.info(f"用户 {user_id} 的画像缓存不存在或已过期") return fail( BizCode.NOT_FOUND, - "画像缓存不存在或已过期,请调用 /generate_profile 接口生成新画像", + "画像缓存不存在或已过期,请右上角刷新生成新画像", "" )