templates: the agent system prompt is a Jinja template, rendered through hive-template
system.md carries {{ label }}-style variables and an {% if not archetype %} block in place of the config:repo / config:archetype marker pairs, so prompt.rs drops its line filter, marker parsers and string replaces. The rendered prompt is byte for byte the old one for a custom agent, an archetype agent and an empty archetype name, with and without hive, swarm, docs and operators. hive-template now drops a block tag's own line.
This commit is contained in:
parent
4adbc939f2
commit
c0eb6780ec
1 changed files with 165 additions and 242 deletions
1
Cargo.lock
generated
1
Cargo.lock
generated
|
|
@ -1693,6 +1693,7 @@ dependencies = [
|
|||
"hive-runtime",
|
||||
"hive-sh4re",
|
||||
"hive-sock-client",
|
||||
"hive-template",
|
||||
"hive-types",
|
||||
"http-body-util",
|
||||
"hyper",
|
||||
|
|
|
|||
Loading…
Reference in a new issue