Skip to content

Commit d38b9b9

Browse files
akhileshbbontalaa
authored andcommitted
Fix tests - Update Agent Switch arguments
Recent refactor changed switch method of Agent, however tests were not updated. Fixing them
1 parent 409c520 commit d38b9b9

File tree

1 file changed

+1
-1
lines changed
  • crates/chat-cli/src/cli/chat

1 file changed

+1
-1
lines changed

crates/chat-cli/src/cli/chat/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4469,7 +4469,7 @@ mod tests {
44694469
..Default::default()
44704470
};
44714471
agents.agents.insert("SecurityAgent".to_string(), agent);
4472-
agents.switch("SecurityAgent", &os).expect("Failed to switch agent");
4472+
agents.switch("SecurityAgent").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"))

0 commit comments

Comments
 (0)