Add wechat reminder LLM toggle

This commit is contained in:
john
2026-07-07 12:10:21 +08:00
parent ac520d8ae5
commit 81967eaf8c
9 changed files with 503 additions and 8 deletions
+10 -1
View File
@@ -1294,6 +1294,8 @@ export function createWechatMpService({
startAgentSession = null,
sessionApiFetch = null,
scheduleService = null,
wechatScheduleLlmConfigService = null,
llmProviderService = null,
applySessionLlmProvider = null,
refreshSessionSnapshot = null,
wechatFetch = undiciFetch,
@@ -2320,7 +2322,14 @@ export function createWechatMpService({
const scheduleReply =
intent.msgType === 'text' || intent.msgType === 'voice'
? await handleWechatScheduleIntent({ intent, user: boundUser, scheduleService })
? await handleWechatScheduleIntent({
intent,
user: boundUser,
scheduleService,
wechatScheduleLlmConfigService,
llmProviderService,
logger,
})
: null;
if (scheduleReply) {
if (inbound.msgId && typeof userAuth.finishWechatMpMessage === 'function') {