Files
leleka/crates/cpu-worker/src/protocol.rs
T

10 lines
495 B
Rust

//! The line protocol the control plane speaks to an inference worker. The grammar lives in `leleka-worker-protocol`,
//! shared with the
//! gateway that reads these lines; this module keeps the old `leleka_cpu_worker::protocol` paths.
pub use leleka_worker_protocol::command::{Command, Generate, parse_command};
pub use leleka_worker_protocol::events::Finish;
pub use leleka_worker_protocol::lines::{
PhaseMs, done_line, error_line, progress_line, ready_line, reused_line, token_line,
};