This commit is contained in:
Wbucket
2026-11-08 00:19:04 +08:00
parent 839ba8cd0c
commit 1d2412bafd
+6 -2
View File
@@ -72,13 +72,17 @@ class TimerService:
except:
logger.error("消息管理失败!")
return False
logger.debug(f"获取上下文:{conversation}")
req = await self.star.context.llm_generate(
# logger.debug(f"获取上下文:{conversation}")
try:
req = await self.star.context.llm_generate(
chat_provider_id=provider,
prompt="<你等待的时间内对方没有回复>",
contexts=history_list
)
except:
logger.error("llm返回失败了喵...QAQ")
return
logger.debug(f"llm结果:{req.completion_text }")
class TimerTask: