model
Meaning and placement
document
Default model ·<provider>/<name> (e.g. ollama/qwen3.5:9b · anthropic/claude-sonnet-4-6 · mock/echo). Names WHICH model answers; how the run reaches it and the native effort it asks for are run.access and run.reasoning (spec/01-envelope.md §run).
In the same object: const · inputs · nika · outputs · permits · run · secrets · tasks
Schema source (use the pointer above)
infer
The schema declares this field at the location below.
In the same object: max_tokens · prompt · schema · system · temperature · thinking · vision
Schema source (use the pointer above)
agent
The schema declares this field at the location below.
In the same object: images · max_tokens_total · max_turns · prompt · schema · skills · system · temperature · tools
Schema source (use the pointer above)
In a source template
Excerpt fromtemplates/agent-loop.nika, source lines 30–39. This is a fragment, not a runnable workflow.
illustration
required input is not satisfied by default (the caller must supply a value). The released 0.124.1 engine still applies default: when the key is omitted. That is a source-versus-implementation discrepancy (nika-spec#348), not one law. Prefer required: false plus default: for knobs, and required without default: for caller-owned values (NIKA-1708 at run).
Templates containing this field
These are literal key occurrences in the source files, not an execution or conformance claim. How to instantiate a template.
Contract and implementation
This page projects the named specification revision. Check released engine status and the validation workflow before running a file. An optional field is not evidence that every engine supports every value. Canonical identity:language:word:model. Spec revision: 5c40ba456c53.
How documentation stays connected.