gmansilla commited on
Commit
6c6c3d1
·
verified ·
1 Parent(s): 30a8ad7

Upload tool

Browse files
Files changed (1) hide show
  1. tool.py +3 -2
tool.py CHANGED
@@ -18,5 +18,6 @@ class SuperheroPartyThemeTool(Tool):
18
 
19
  return themes.get(category.lower(), "Themed party idea not found. Try 'classic heroes', 'villain masquerade', or 'futuristic Gotham'.")
20
 
21
- def __init__(self, *args, **kwargs):
22
- self.is_initialized = False
 
 
18
 
19
  return themes.get(category.lower(), "Themed party idea not found. Try 'classic heroes', 'villain masquerade', or 'futuristic Gotham'.")
20
 
21
+ def new_init(self, *args, **kwargs):
22
+ original_init(self, *args, **kwargs)
23
+ self.validate_arguments()