ComfyUI Node
[llama.cpp] Connect Session
Creates a session handle for a llama.cpp server. Connect fetches model IDs; the saved model string remains the value used for generation.
[llama.cpp] Connect Session
- session
◄urlhttp://127.0.0.1:9931►
◄available_models►
◄model►
◄api_key►
Categoryllama_cpp/session
Inputs (4)
| Name | Type | Default | Description |
|---|---|---|---|
| url | STRING | http://127.0.0.1:9931 | llama.cpp server base URL. Only HTTP and HTTPS are accepted. |
| available_models | COMBO | Models reported by the configured llama.cpp server. | |
| model | STRING | Saved model ID used for generation. Selecting available_models copies its ID here. | |
| api_key | STRING | Optional API key for the configured llama.cpp server. |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| session | OLLAMA_IMAGE_LIST_LLAMA_CPP_SESSION | — |