File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed
Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -39,7 +39,6 @@ use tracing::{
3939 info,
4040 warn,
4141} ;
42- use walkdir;
4342use wrapper_types:: ResourcePath ;
4443pub use wrapper_types:: {
4544 OriginalToolName ,
Original file line number Diff line number Diff line change @@ -1554,6 +1554,7 @@ mod tests {
15541554 let agents = {
15551555 let mut agents = Agents :: default ( ) ;
15561556 let mut agent = Agent :: default ( ) ;
1557+ agent. name = "TestAgent" . to_string ( ) ;
15571558 agent. resources . push ( AMAZONQ_FILENAME . into ( ) ) ;
15581559 agent. resources . push ( AGENTS_FILENAME . into ( ) ) ;
15591560 agents. agents . insert ( "TestAgent" . to_string ( ) , agent) ;
Original file line number Diff line number Diff line change @@ -4335,7 +4335,7 @@ mod tests {
43354335 ..Default :: default ( )
43364336 } ;
43374337 agents. agents . insert ( "TestAgent" . to_string ( ) , agent) ;
4338- agents. switch ( "TestAgent" ) . expect ( "Failed to switch agent" ) ;
4338+ agents. switch ( "TestAgent" , & os ) . expect ( "Failed to switch agent" ) ;
43394339
43404340 let tool_manager = ToolManager :: default ( ) ;
43414341 let tool_config = serde_json:: from_str :: < HashMap < String , ToolSpec > > ( include_str ! ( "tools/tool_index.json" ) )
@@ -4469,7 +4469,7 @@ mod tests {
44694469 ..Default :: default ( )
44704470 } ;
44714471 agents. agents . insert ( "SecurityAgent" . to_string ( ) , agent) ;
4472- agents. switch ( "SecurityAgent" ) . expect ( "Failed to switch agent" ) ;
4472+ agents. switch ( "SecurityAgent" , & os ) . expect ( "Failed to switch agent" ) ;
44734473
44744474 let tool_manager = ToolManager :: default ( ) ;
44754475 let tool_config = serde_json:: from_str :: < HashMap < String , ToolSpec > > ( include_str ! ( "tools/tool_index.json" ) )
You can’t perform that action at this time.
0 commit comments