Sauten commited on
Commit
6934dd7
·
verified ·
1 Parent(s): 44373b3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -19,7 +19,7 @@ model = OpenAIServerModel(
19
  api_base="https://api.fireworks.ai/inference/v1",
20
  model_id="accounts/fireworks/models/qwen2p5-72b-instruct",
21
  temperature = 0.1,
22
- max_tokens = 100
23
  )
24
  #top_p = 1
25
 
@@ -38,9 +38,9 @@ class BasicAgent:
38
  agent = CodeAgent(
39
  tools=[FinalAnswerTool(), DuckDuckGoSearchTool(), VisitWebpageTool()],
40
  model=model,
41
- max_steps=10,
42
  verbosity_level=2,
43
- planning_interval=4
44
  )
45
 
46
  # Get the actual answer from the agent
 
19
  api_base="https://api.fireworks.ai/inference/v1",
20
  model_id="accounts/fireworks/models/qwen2p5-72b-instruct",
21
  temperature = 0.1,
22
+ max_tokens = 1000
23
  )
24
  #top_p = 1
25
 
 
38
  agent = CodeAgent(
39
  tools=[FinalAnswerTool(), DuckDuckGoSearchTool(), VisitWebpageTool()],
40
  model=model,
41
+ max_steps=20,
42
  verbosity_level=2,
43
+ planning_interval=2
44
  )
45
 
46
  # Get the actual answer from the agent