move the review classifier, agent login and inference types into swarm-wire
This commit is contained in:
parent
bdeec3f744
commit
6ea13c02e3
44 changed files with 344 additions and 332 deletions
|
|
@ -33,9 +33,9 @@ use serde::Serialize;
|
|||
use tokio::sync::broadcast;
|
||||
use tokio::time::{Interval, MissedTickBehavior};
|
||||
|
||||
use swarm_queue_client::agent_inference::Effective;
|
||||
use swarm_queue_client::agent_login::Login;
|
||||
use swarm_queue_client::wanted::AgentState;
|
||||
use swarm_wire::agent_inference::Effective;
|
||||
use swarm_wire::agent_login::Login;
|
||||
|
||||
use crate::events::{Bus, BusEvent, LiveEvent, TurnState};
|
||||
use crate::login::LoginState;
|
||||
|
|
@ -337,8 +337,8 @@ mod tests {
|
|||
use crate::events::{BusEvent, LiveEvent, TurnState};
|
||||
use crate::login::LoginState;
|
||||
use std::sync::Mutex;
|
||||
use swarm_queue_client::agent_inference::{Effective, Source};
|
||||
use swarm_queue_client::wanted::AgentState;
|
||||
use swarm_wire::agent_inference::{Effective, Source};
|
||||
use tokio::sync::broadcast;
|
||||
use tokio::time::{Duration, Instant};
|
||||
|
||||
|
|
@ -495,7 +495,7 @@ mod tests {
|
|||
..msg()
|
||||
})
|
||||
.expect("serialises");
|
||||
let decoded: swarm_queue_client::agent_login::Login =
|
||||
let decoded: swarm_wire::agent_login::Login =
|
||||
serde_json::from_slice(&bytes).expect("decodes");
|
||||
assert_eq!(
|
||||
decoded.needs_login,
|
||||
|
|
|
|||
Loading…
Reference in a new issue