Add wechat reminder LLM toggle
This commit is contained in:
+10
-1
@@ -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') {
|
||||
|
||||
Reference in New Issue
Block a user