Watch
0
0
Fork
You've already forked hyperhive
0

swarm_kv_put takes the bytes, not a one-variant enum

This commit is contained in:
iris 2026-11-16 23:21:17 +01:00 • committed by mara
commit f6a265421f

View file

@ -26,7 +26,7 @@ use serde_json::Value;
use swarm_wire::agent_commands::{self, Skill, Skills};
use tokio::sync::watch;
use crate::swarm_kv_put::{Failure, Put, put_retrying};
use crate::swarm_kv_put::{Failure, put_retrying};
/// The newest list claude reported, for [`run`] to publish. `None` until the
/// first init event of this process.
@ -102,7 +102,7 @@ async fn run(agent: String) {
continue;
}
};
match put_retrying(&client, &subject, Put::Set(&payload), "the agent's skills").await {
match put_retrying(&client, &subject, &payload, "the agent's skills").await {
Ok(()) => tracing::info!(
subject,
count = skills.skills.len(),