publish operators' forge-profile pronouns to kv and list them in the agent prompt
swarm-controller reads each member of authelia's operator group's forge profile every five minutes and keeps one key per operator in the new operator-profiles bucket. Every agent may list and read that bucket, and hive-agent renders it into the system prompt at harness start, falling back to today's prompt when the bucket is empty or doesn't answer within five seconds. Fixes #5383
This commit is contained in:
parent
a2b4320cc4
commit
6942f8fd27
16 changed files with 681 additions and 35 deletions
|
|
@ -118,6 +118,10 @@ mod tests {
|
|||
"$SWARM.term.atlas".to_owned(),
|
||||
"$SWARM.agent-state.atlas".to_owned(),
|
||||
"$KV.agent-icons.atlas".to_owned(),
|
||||
"$JS.API.STREAM.INFO.KV_operator-profiles".to_owned(),
|
||||
"$JS.API.CONSUMER.CREATE.KV_operator-profiles".to_owned(),
|
||||
"$JS.API.CONSUMER.CREATE.KV_operator-profiles.>".to_owned(),
|
||||
"$JS.API.DIRECT.GET.KV_operator-profiles.>".to_owned(),
|
||||
]
|
||||
);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue