fix: 工具结果推送 userID为空→回退adminUserID
This commit is contained in:
@@ -465,6 +465,9 @@ func main() {
|
||||
return
|
||||
}
|
||||
// 通过 thinker 的主动消息机制推送
|
||||
if userID == "" {
|
||||
userID = adminUserID
|
||||
}
|
||||
thinker.TriggerReminderMessage(userID, sessionID, fmt.Sprintf("🔧 %s 执行完成:%s", toolName, result))
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user