neuralconfig-admin commited on
Commit
f234cff
·
verified ·
1 Parent(s): ae7a494

Experimenting with tools for the agents class (#1)

Browse files

- Experimenting with tools for the agents class (22f2e6700701064a727a727d746b6b19ca0b8bb4)

Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -55,7 +55,7 @@ with open("prompts.yaml", 'r') as stream:
55
 
56
  agent = CodeAgent(
57
  model=model,
58
- tools=[final_answer], ## add your tools here (don't remove final answer)
59
  max_steps=6,
60
  verbosity_level=1,
61
  grammar=None,
 
55
 
56
  agent = CodeAgent(
57
  model=model,
58
+ tools=[final_answer], [my_custom_tool] ## add your tools here (don't remove final answer)
59
  max_steps=6,
60
  verbosity_level=1,
61
  grammar=None,