bstraehle commited on
Commit
9cc7636
·
verified ·
1 Parent(s): 1a3c737

Update agent_llamaindex.py

Browse files
Files changed (1) hide show
  1. agent_llamaindex.py +2 -1
agent_llamaindex.py CHANGED
@@ -25,7 +25,8 @@ def agent_llamaindex(config, prompt):
25
  agent = OpenAIAgent.from_tools(
26
  [tools[0], # built-in tools
27
  date_tool], # custom tools
28
- llm = llm,
 
29
  verbose = True
30
  )
31
 
 
25
  agent = OpenAIAgent.from_tools(
26
  [tools[0], # built-in tools
27
  date_tool], # custom tools
28
+ llm = llm,
29
+ max_iterations = 10,
30
  verbose = True
31
  )
32