加日志

This commit is contained in:
Tian jianyong 2025-12-24 19:59:11 +08:00
parent b3b07850f2
commit 5471e21170

View File

@ -153,7 +153,7 @@ async def converse_with_chat_assistant(
if redis:
lookup_hash = get_question_hash(converse_params.question)
logger.info(f'[SemanticCache] 开始查找 | chat_id={converse_params.chat_id} | question={converse_params.question} | hash={lookup_hash} | threshold=0.60')
cache_result = await lookup_question(
cache_result = await get_semantic_cache_service().lookup(
converse_params.chat_id,
converse_params.question,
redis