Skip Cursor Chat Bridge for WeChat MP and page.generate sessions.
Memind CI / Test, build, and release guards (push) Failing after 5m45s

WeChat Goose turns always include tools, which the bridge PoC rejects with HTTP 501; keep Kimi/DeepSeek on the session while Cursor handles page execution separately.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
john
2026-08-31 10:16:03 +08:00
parent 3688d732c0
commit fa20f735a5
4 changed files with 65 additions and 6 deletions
+3 -1
View File
@@ -1602,7 +1602,7 @@ export function createTkmindProxy({
}
}
async function applySessionLlmProvider(sessionId, { userId = null } = {}) {
async function applySessionLlmProvider(sessionId, { userId = null, channel = 'h5', intentKind = '' } = {}) {
if (!llmProviderService || !sessionId) return null;
try {
const target = await resolveTarget(sessionId);
@@ -1617,6 +1617,8 @@ export function createTkmindProxy({
if (
resolveCursorChatBridgeEligible({
user: { userId },
channel,
intentKind,
policy: cursorPolicy,
})
&& typeof llmProviderService.applyCursorChatBridgeForSession === 'function'