move the review classifier, agent login and inference types into swarm-wire
This commit is contained in:
parent
bdeec3f744
commit
6ea13c02e3
1 changed files with 344 additions and 332 deletions
|
|
@ -20,7 +20,7 @@ use axum::extract::State;
|
|||
use axum::http::StatusCode;
|
||||
use problem_details::ProblemDetails;
|
||||
use serde::{Deserialize, Serialize};
|
||||
use swarm_queue_client::review_classifier::{Overall, Reply, Row};
|
||||
use swarm_wire::review_classifier::{Overall, Reply, Row};
|
||||
use utoipa::ToSchema;
|
||||
|
||||
use crate::routes::{AppState, error_problem};
|
||||
|
|
@ -386,7 +386,7 @@ pub(crate) mod tests {
|
|||
|
||||
use axum::body::Body;
|
||||
use axum::http::Request;
|
||||
use swarm_queue_client::review_classifier::{Polarity, Verdict};
|
||||
use swarm_wire::review_classifier::{Polarity, Verdict};
|
||||
use tower::ServiceExt as _;
|
||||
use tracing_subscriber::layer::SubscriberExt as _;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue