fix(rain): keep Goose agent turns on DeepSeek, not Cursor chat bridge.
Memind CI / Test, build, and release guards (push) Failing after 13m25s
Memind CI / Test, build, and release guards (push) Failing after 13m25s
Cursor bridge PoC rejects tool calls; Rain and other agent sessions must not apply it during session provider selection. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -43,6 +43,8 @@ export function resolveCursorChatBridgeEligible({
|
||||
// WeChat Goose sessions always carry tools; the bridge PoC rejects tool calls.
|
||||
if (normalizedChannel === CURSOR_EXECUTOR_CHANNEL.WECHAT_MP) return false;
|
||||
if (String(intentKind ?? '').trim() === 'page.generate') return false;
|
||||
// Bridge is text-only: only explicit direct-chat intents; agent / rain / empty → DeepSeek.
|
||||
if (String(intentKind ?? '').trim() !== 'chat.general') return false;
|
||||
if (!isChannelAllowedByCursorPolicy(normalizedChannel || CURSOR_EXECUTOR_CHANNEL.H5, policy)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user