File tree Expand file tree Collapse file tree 3 files changed +5
-14
lines changed
Expand file tree Collapse file tree 3 files changed +5
-14
lines changed Original file line number Diff line number Diff line change @@ -151,21 +151,18 @@ impl AgentControlRunner {
151151 } ) ?;
152152 }
153153
154- let auto_generated_dir_path = self . base_paths . remote_dir . join ( GENERATED_FOLDER_NAME ) ;
155154 let agents_assembler = Arc :: new (
156155 LocalEffectiveAgentsAssembler :: new (
157156 self . agent_type_registry . clone ( ) ,
158157 template_renderer,
159158 self . agent_type_var_constraints ,
160159 secrets_providers,
161160 )
162- . with_autogenerated_dir ( self . base_paths . remote_dir ) ,
161+ . with_autogenerated_dir ( & self . base_paths . remote_dir ) ,
163162 ) ;
164163
165- let supervisor_builder = SupervisortBuilderOnHost :: new (
166- self . base_paths . log_dir . join ( SUB_AGENT_DIR ) ,
167- auto_generated_dir_path,
168- ) ;
164+ let supervisor_builder =
165+ SupervisortBuilderOnHost :: new ( self . base_paths . log_dir . join ( SUB_AGENT_DIR ) ) ;
169166
170167 let remote_config_validators = vec ! [
171168 SupportedRemoteConfigValidator :: Signature ( self . signature_validator) ,
Original file line number Diff line number Diff line change @@ -132,15 +132,11 @@ where
132132
133133pub struct SupervisortBuilderOnHost {
134134 logging_path : PathBuf ,
135- autogenerated_dir_path : PathBuf ,
136135}
137136
138137impl SupervisortBuilderOnHost {
139- pub fn new ( logging_path : PathBuf , autogenerated_dir_path : PathBuf ) -> Self {
140- Self {
141- logging_path,
142- autogenerated_dir_path,
143- }
138+ pub fn new ( logging_path : PathBuf ) -> Self {
139+ Self { logging_path }
144140 }
145141}
146142
Original file line number Diff line number Diff line change 1- use std:: io;
2-
31use crate :: event:: SubAgentInternalEvent ;
42use crate :: event:: channel:: EventPublisher ;
53use crate :: health:: health_checker:: HealthCheckerError ;
You can’t perform that action at this time.
0 commit comments