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