diff --git a/CHANGELOG.md b/CHANGELOG.md index 0ce28a008..7d4d67d99 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,10 @@ Status of the `main` branch. Changes prior to the next official version change will appear here. +* Tools: + - Fix: `query_project` rejected read-only tools hidden by the active context, + preventing forwarding to other registered projects. + * Language Servers: - `typescript_vts`: Add `initialization_options` setting in `ls_specific_settings.typescript_vts`. The dict is forwarded to vtsls via `initializationOptions`, `workspace/didChangeConfiguration`, diff --git a/src/serena/tools/query_project_tools.py b/src/serena/tools/query_project_tools.py index 2820ab29d..7d845a226 100644 --- a/src/serena/tools/query_project_tools.py +++ b/src/serena/tools/query_project_tools.py @@ -53,7 +53,6 @@ def apply(self, project_name: str, tool_name: str, tool_params_json: str) -> str :param tool_params_json: the parameters to pass to the tool, encoded as a JSON string """ tool = self.agent.get_tool_by_name(tool_name) - assert tool.is_active(), f"Tool {tool_name} is not active." assert tool.is_readonly(), f"Tool {tool_name} is not read-only and cannot be executed in another project." if self._is_project_server_required(tool): client = ProjectServerClient()