@@ -53,7 +53,6 @@ def show(cls, state: AppConfig):
53
53
['Fuzzer Configuration' , None , FuzzerOptions ],
54
54
['Target LLM Configuration' , None , TargetLLMOptions ],
55
55
['Attack LLM Configuration' , None , AttackLLMOptions ],
56
- ['Debug Level' , None , DebugOptions ],
57
56
['Show all configuration' , show_all_config , MainMenu ],
58
57
['Exit' , None , None ],
59
58
]
@@ -99,22 +98,6 @@ def show(cls, state: AppConfig):
99
98
state .num_attempts = int (result ['num_attempts' ])
100
99
return MainMenu
101
100
102
- class DebugOptions :
103
- @classmethod
104
- def show (cls , state : AppConfig ):
105
- print ("Debug Options: Review and modify the debug log level" )
106
- print ("----------------------------------------------------" )
107
- result = inquirer .prompt ([
108
- inquirer .Text ('debug_level' ,
109
- message = "Debug Level (0-2) (0=warnings and errors; 1 = normal; 2 = verbose)" ,
110
- default = str (state .debug_level ),
111
- validate = lambda _ , x : x .isdigit () and int (x ) > 0
112
- ),
113
- ])
114
- if result is None : return # Handle prompt cancellation concisely
115
- state .debug_level = int (result ['debug_level' ])
116
- return MainMenu
117
-
118
101
class TargetLLMOptions :
119
102
@classmethod
120
103
def show (cls , state : AppConfig ):
0 commit comments