swarmctl shares the create-agent, inference and permissions shapes with the controller
This commit is contained in:
parent
249aab6642
commit
0831b85b73
1 changed files with 675 additions and 434 deletions
|
|
@ -138,8 +138,11 @@ mod tests {
|
|||
.map(|v| String::from_utf8(v.to_vec()).expect("utf-8"))
|
||||
}
|
||||
|
||||
fn request(name: &str, agents_md: Option<String>) -> crate::routes::agents::CreateAgentRequest {
|
||||
crate::routes::agents::CreateAgentRequest {
|
||||
fn request(
|
||||
name: &str,
|
||||
agents_md: Option<String>,
|
||||
) -> swarm_controller_api::agents::CreateAgentRequest {
|
||||
swarm_controller_api::agents::CreateAgentRequest {
|
||||
name: name.to_owned(),
|
||||
hive: "pr1ma".to_owned(),
|
||||
limits: None,
|
||||
|
|
|
|||
Loading…
Reference in a new issue