feat: enable WeChat media for all users

This commit is contained in:
john
2026-07-18 21:20:56 +08:00
parent 1161292482
commit 2ce1527edd
2 changed files with 3 additions and 2 deletions
+2 -2
View File
@@ -3697,7 +3697,7 @@ test('wechat mp service falls back to ASR when voice recognition is empty', asyn
}
});
test('wechat mp service persists image and routes image url into agent prompt', async () => {
test('wechat mp wildcard media access persists image and routes image url into agent prompt', async () => {
const token = 'token';
const timestamp = '1710000000';
const nonce = 'nonce';
@@ -3719,7 +3719,7 @@ test('wechat mp service persists image and routes image url into agent prompt',
unboundTextPrefix: '请先绑定',
progressDelayMs: 0,
maxImageBytes: 1024 * 1024,
mediaAnalysisGrayUsers: [testUserId],
mediaAnalysisGrayUsers: ['*'],
},
userAuth: {
async findWechatUserByOpenid() {