Skip Cursor Chat Bridge for WeChat MP and page.generate sessions.
Memind CI / Test, build, and release guards (push) Failing after 5m45s
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:
+3
-1
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user