Skip to content

Commit a865d50

Browse files
committed
feat: use new trait on sub-agent
1 parent fa61c7b commit a865d50

File tree

3 files changed

+422
-95
lines changed

3 files changed

+422
-95
lines changed

agent-control/src/sub_agent/error.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ pub enum SupervisorCreationError {
4949
#[error("could not build the supervisor: {0}")]
5050
SupervisorBuild(String),
5151
#[error("could not start the supervisor: {0}")]
52-
SupervisorStartGeneric(String),
52+
StartSupervisor(String),
5353
}
5454

5555
#[derive(Error, Debug)]

agent-control/src/sub_agent/supervisor.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,6 @@ pub trait SupervisorStarter {
107107
/// implementations to potentially replace internal state or recreate resources as needed.
108108
///
109109
/// # Type Parameters
110-
///
111110
/// * `ApplyError` - The error type returned when applying configuration changes fails
112111
/// * `StopError` - The error type returned when stopping fails
113112
pub trait Supervisor: Sized {

0 commit comments

Comments
 (0)