mirror of
https://github.com/tiennm99/serena.git
synced 2026-10-12 22:14:54 +00:00
SerenaAgentMode: Fix print_overview
This commit is contained in:
1 parent
00726f5fdc
commit
b2729c2a3e
1 file changed
+7
-1
@@ -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:
|
||||
|
||||
Reference in new issue
Block a user