Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# ComfyUI Documentation
| [English](./README.md) | [中文](./README.zh-CN.md) |
| [English](https://github.com/Comfy-Org/docs/blob/main/README.md) | [中文](https://github.com/Comfy-Org/docs/blob/main/README.zh-CN.md) |

## Development

Expand Down
2 changes: 1 addition & 1 deletion README.zh-CN.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# ComfyUI 文档

| [English](./README.md) | [中文](./README.zh-CN.md) |
| [English](https://github.com/Comfy-Org/docs/blob/main/README.md) | [中文](https://github.com/Comfy-Org/docs/blob/main/README.zh-CN.md) |

## 开发

Expand Down
9 changes: 9 additions & 0 deletions custom-nodes/backend/server_overview.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,15 @@ A good example of actually checking for changes is the code from the built-in Lo
return m.digest().hex()
```

#### SEARCH_ALIASES

Optional. A list of alternative names users might search for when looking for this node.
This is included in the `/object_info` API response as `search_aliases`.

```python
SEARCH_ALIASES = ["text concat", "join text", "merge strings"]
```

### Other attributes

There are three other attributes that can be used to modify the default Comfy treatment of a node.
Expand Down
9 changes: 9 additions & 0 deletions zh-CN/custom-nodes/backend/server_overview.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,15 @@ Comfy 的一个很棒的特性是它会缓存输出,并且只会执行那些
return m.digest().hex()
```

#### SEARCH_ALIASES

可选。用户搜索此节点时可能使用的替代名称列表。
此属性会包含在 `/object_info` API 响应的 `search_aliases` 字段中。

```python
SEARCH_ALIASES = ["text concat", "join text", "merge strings"]
```

### 其他属性

还有三个属性可以用来修改 Comfy 对节点的默认处理方式。
Expand Down