From ed0a4782a21d8e564f8956c87e022e8caef851ac Mon Sep 17 00:00:00 2001 From: Claude Code Date: Fri, 27 Nov 2026 20:03:34 +0530 Subject: Commit tracked-file changes required for a working Agentux install The committed provider/base.py, config.py, models.py, errors.py and tools were missing symbols (e.g. TextCallback) that agent.py imports, so a clean clone produced a broken install. Commit these so the remote's committed state is complete and cloneable. Co-Authored-By: Claude Code --- src/agentux/tools/registry.py | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/agentux/tools/registry.py') diff --git a/src/agentux/tools/registry.py b/src/agentux/tools/registry.py index d605136..c50bf33 100644 --- a/src/agentux/tools/registry.py +++ b/src/agentux/tools/registry.py @@ -25,6 +25,10 @@ class ToolRegistry: """Register a tool, replacing any existing tool with the same name.""" self._tools[tool.name] = tool + def deregister(self, name: str) -> None: + """Remove a tool by name. Does nothing if it is not registered.""" + self._tools.pop(name, None) + def get(self, name: str) -> BaseTool: """Return a registered tool, or raise :class:`ToolNotFoundError`.""" tool = self._tools.get(name) -- cgit v1.2.3