More flexible handling of enabled tools:

* In addition to exclusion, support notion of "optional tools" that
    are disabled by default and enabled only upon request
  * Unify the handling of inclusions/exclusions across
      - SerenaConfig
      - ProjectConfig
      - SerenaAgentContext
      - SerenaAgentMode
  * Make ToolRegistry a singleton and simplify all related operations
This commit is contained in:
Dominik Jain authored and Dominik Jain committed 2025-07-06 00:39:36 +02:00
1 parent 044e979bf8
commit 58bf161fd2
9 files changed
+128 -114

No files matched your search

+1 -1
View File
@@ -1,4 +1,4 @@
from serena.agent import ToolRegistry
if __name__ == "__main__":
ToolRegistry.print_tool_overview()
ToolRegistry().print_tool_overview()