ComfyUI Node
[llama.cpp] Decide (Prompt Sequential)
Runs paired context and question lists independently against the same complete media bundle. Common-prefix KV reuse is attempted by default.
[llama.cpp] Decide (Prompt Sequential)
- session
- question
- images
- audio
- video
- model_profile
- selected
- probabilities_json
- metrics
- media_diagnostics
- session
◄system►
◄context►
◄video_with_audiofalse►
◄seed-1►
◄reuse_kv_cachetrue►
◄session_unloadfalse►
Categoryllama_cpp/decision
Inputs (12)
| Name | Type | Default | Description |
|---|---|---|---|
| session | OLLAMA_IMAGE_LIST_LLAMA_CPP_SESSION | — | |
| system | STRING | — | |
| context | STRING | — | |
| question | OLLAMA_IMAGE_LIST_LLAMA_CPP_QUESTION | — | |
| video_with_audio | BOOLEAN | false | — |
| seed | INT | -1-1–4294967295 | Runtime completion seed; Native prefill scoring is deterministic. |
| reuse_kv_cache | BOOLEAN | true | Attempt common-prefix KV reuse across independent decisions. |
| session_unload | BOOLEAN | false | Unload the session after the decision sequence completes. |
| imagesopt | IMAGE | — | |
| audioopt | AUDIO | — | |
| videoopt | VIDEO | — | |
| model_profileopt | OLLAMA_IMAGE_LIST_LLAMA_CPP_MODEL_PROFILE | Optional override; server sessions apply sampling and explicit on/off reasoning settings per request. |
Outputs (5)
| Name | Type | Description |
|---|---|---|
| selected | STRING | — |
| probabilities_json | STRING | — |
| metrics | STRING | — |
| media_diagnostics | OLLAMA_IMAGE_LIST_LLAMA_CPP_MEDIA_DIAGNOSTICS | — |
| session | OLLAMA_IMAGE_LIST_LLAMA_CPP_SESSION | — |