[Bug] Identify api nodes as core nodes (#3683)

This commit is contained in:
Chenlei Hu
2025-04-29 11:45:52 -04:00
committed by GitHub
parent 1531025070
commit a2f04844e0
2 changed files with 11 additions and 1 deletions

View File

@@ -29,7 +29,7 @@ export const getNodeSource = (python_module?: string): NodeSource => {
return UNKNOWN_NODE_SOURCE
}
const modules = python_module.split('.')
if (['nodes', 'comfy_extras'].includes(modules[0])) {
if (['nodes', 'comfy_extras', 'comfy_api_nodes'].includes(modules[0])) {
return {
type: NodeSourceType.Core,
className: 'comfy-core',