From fe167897767cceca0c838dcf6e52f342c99e88eb Mon Sep 17 00:00:00 2001 From: Yingjie He Date: Fri, 13 Jun 2025 11:53:53 -0700 Subject: [PATCH] fix router trait error (#2910) --- crates/goose/src/agents/router_tool_selector.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/goose/src/agents/router_tool_selector.rs b/crates/goose/src/agents/router_tool_selector.rs index f87005c2..d6d1f55b 100644 --- a/crates/goose/src/agents/router_tool_selector.rs +++ b/crates/goose/src/agents/router_tool_selector.rs @@ -282,7 +282,7 @@ impl RouterToolSelector for LLMToolSelector { } } - async fn index_tools(&self, tools: &[Tool]) -> Result<(), ToolError> { + async fn index_tools(&self, tools: &[Tool], _extension_name: &str) -> Result<(), ToolError> { let mut tool_strings = self.tool_strings.write().await; for tool in tools {