Compatible Model List View
Actually read the model list your endpoint found
- models_list_text
This is a display node with one job: take the models_json string that Compatible Endpoint outputs and turn it into a readable 0: model-name list, one per line, so you can actually see what your local LLM server has loaded.
Why does this need to exist? Because ComfyUI's standard UI has no dynamic dropdown. The pack author can't make a select box that fills itself from your server's model list, so instead they split the job in two: this node shows you the list, and its sibling Compatible Model Selector picks from it by index. Annoying at first, but it works everywhere, on any ComfyUI frontend, with zero custom widgets.
How it works
Feed it the models_json output from Compatible Endpoint (the raw /models response). It parses the JSON - preferring data[].id, falling back to name, and even accepting a plain string array if your server returns one - then prints each entry as index: name in server order. That's the whole mechanism. No HTTP requests, no connection state, nothing to go wrong.
The single output is models_list_text. The practical move: wire it into a "show text" node or just read the value from the node's own widget after a run, then note the index of the model you want and hand it to the Selector.
Install
Part of ComfyUi_zaknak_nodes - ComfyUI Manager, or git clone https://github.com/zaknak/ComfyUi_zaknak_nodes into ComfyUI/custom_nodes, then restart. It's a pure utility; no dependencies beyond the pack itself.
Troubleshooting
- Empty output: if
models_jsonis empty, invalid JSON, or contains no valid model list, you get an empty string back - quietly. If that happens, checkCompatible Endpoint'sstatus_textto see whether the model fetch actually succeeded. - Order isn't alphabetical: the list follows your server's response order. Whatever index you read here is the index the Selector will use, so don't re-sort in your head.
- You wired it to something and nothing shows: remember this node is read-only sugar. It doesn't fetch anything on its own; it only formats what
models_jsonalready contains.
Inputs (1)
| Name | Type | Default | Description |
|---|---|---|---|
| models_json | STRING | — |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| models_list_text | STRING | — |