the built-in archetypes come with a default prompt
This commit is contained in:
parent
fa07f32cdf
commit
039896c506
1 changed files with 111 additions and 5 deletions
|
|
@ -48,3 +48,10 @@ The stored value:
|
|||
"refused": { "broken": "limits: …" }
|
||||
}
|
||||
```
|
||||
|
||||
## The built-in prompts
|
||||
|
||||
Each built-in archetype's `meta.prompt` is `builtins.readFile` of
|
||||
`nix/archetypes/prompts/<name>.md`. The file read gives a plain string, so
|
||||
`meta` stays plain data and the `nix eval` above prints it as JSON. The
|
||||
controller's check holds the prompt to 64 KiB.
|
||||
|
|
|
|||
Loading…
Reference in a new issue