wizofavalon commited on
Commit
b21e069
·
verified ·
1 Parent(s): 58a780b

added debug print statement

Browse files
Files changed (1) hide show
  1. app.py +2 -7
app.py CHANGED
@@ -52,15 +52,10 @@ image_generation_tool = load_tool("agents-course/text-to-image", trust_remote_co
52
 
53
  with open("prompts.yaml", 'r') as stream:
54
  prompt_templates = yaml.safe_load(stream)
55
-
56
  agent = CodeAgent(
57
  model=model,
58
- tools=[
59
- final_answer,
60
- get_current_time_in_timezone,
61
- my_custom_tool,
62
- image_generation_tool
63
- ], ## add your tools here (don't remove final answer)
64
  max_steps=6,
65
  verbosity_level=1,
66
  grammar=None,
 
52
 
53
  with open("prompts.yaml", 'r') as stream:
54
  prompt_templates = yaml.safe_load(stream)
55
+ print("TOOLS:", [final_answer, my_custom_tool, get_current_time_in_timezone, image_generation_tool])
56
  agent = CodeAgent(
57
  model=model,
58
+ tools=[final_answer,get_current_time_in_timezone,my_custom_tool,image_generation_tool], ## add your tools here (don't remove final answer)
 
 
 
 
 
59
  max_steps=6,
60
  verbosity_level=1,
61
  grammar=None,