fix router trait error (#2910)

This commit is contained in:
Yingjie He
2025-06-13 11:53:53 -07:00
committed by GitHub
parent fe694c228d
commit fe16789776
@@ -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; let mut tool_strings = self.tool_strings.write().await;
for tool in tools { for tool in tools {