tonko22 commited on
Commit
4383904
·
1 Parent(s): d83c062

Remove unused arg

Browse files
Files changed (1) hide show
  1. tools/formatting_tools.py +2 -4
tools/formatting_tools.py CHANGED
@@ -23,18 +23,16 @@ class FormatAnalysisResultsTool(Tool):
23
  name = "format_analysis_results"
24
  description = "Formats the analysis results for better readability"
25
  inputs = {
26
- "analysis_json": {"type": "any", "description": "JSON string or dictionary containing the analysis results"},
27
- "pretty": {"type": "boolean", "description": "Whether to use rich formatting (True) or simple text formatting (False)", "nullable": True}
28
  }
29
  output_type = "string"
30
 
31
- def forward(self, analysis_json: Dict, pretty: bool = True) -> str:
32
  """
33
  Formats the analysis results for better readability.
34
 
35
  Args:
36
  analysis_json: Dictionary containing the analysis results
37
- pretty: Parameter kept for API compatibility but not used anymore
38
 
39
  Returns:
40
  A formatted string representation of the analysis
 
23
  name = "format_analysis_results"
24
  description = "Formats the analysis results for better readability"
25
  inputs = {
26
+ "analysis_json": {"type": "any", "description": "JSON string or dictionary containing the analysis results"}
 
27
  }
28
  output_type = "string"
29
 
30
+ def forward(self, analysis_json: Dict) -> str:
31
  """
32
  Formats the analysis results for better readability.
33
 
34
  Args:
35
  analysis_json: Dictionary containing the analysis results
 
36
 
37
  Returns:
38
  A formatted string representation of the analysis