SerenaAgentMode: Fix print_overview

This commit is contained in:
Dominik Jain committed 2026-04-14 14:56:42 +02:00
1 parent 00726f5fdc
commit b2729c2a3e
1 file changed
+7 -1
+7 -1
View File
@@ -53,7 +53,13 @@ class SerenaAgentMode(ToolInclusionDefinition, ToStringMixin):
"""Print an overview of the mode."""
print(f"{self.name}:\n {self.description}")
if self.excluded_tools:
print(" excluded tools:\n " + ", ".join(sorted(self.excluded_tools)))
print(" excluded tools:\n " + ", ".join(sorted(self.excluded_tools)))
if self.included_optional_tools:
print(" included optional tools:\n " + ", ".join(sorted(self.included_optional_tools)))
if self.fixed_tools:
print(" fixed tools:\n " + ", ".join(sorted(self.fixed_tools)))
if self.prompt:
print(" defines initial prompt")
@classmethod
def from_yaml(cls, yaml_path: str | Path) -> Self: