This commit is contained in:
Timothy Jaeryang Baek committed 2026-07-09 17:32:45 -05:00
1 parent ef8630d556
commit 975f7b868a
1 file changed
+7 -2
+7 -2
View File
@@ -2530,8 +2530,10 @@
} else { } else {
toolServerIds.push(serverId); toolServerIds.push(serverId);
} }
} else { } else if (toolId.startsWith('server:') || $config?.features?.enable_plugins) {
toolIds.push(toolId); toolIds.push(toolId);
} else {
continue;
} }
} }
@@ -2559,7 +2561,10 @@
files: (files?.length ?? 0) > 0 ? files : undefined, files: (files?.length ?? 0) > 0 ? files : undefined,
filter_ids: selectedFilterIds.length > 0 ? selectedFilterIds : undefined, filter_ids:
$config?.features?.enable_plugins && selectedFilterIds.length > 0
? selectedFilterIds
: undefined,
tool_ids: toolIds.length > 0 ? toolIds : undefined, tool_ids: toolIds.length > 0 ? toolIds : undefined,
skill_ids: skillIds.length > 0 ? skillIds : undefined, skill_ids: skillIds.length > 0 ? skillIds : undefined,
terminal_id: terminalEnabled ? (activeTerminalId ?? undefined) : undefined, terminal_id: terminalEnabled ? (activeTerminalId ?? undefined) : undefined,