Skier8402 commited on
Commit
dda4e60
·
verified ·
1 Parent(s): 53f3d38

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -61,8 +61,8 @@ else:
61
  verbose=True,
62
  allow_delegation=False,
63
  tools=[search_tool],
64
- llm=ChatOpenAI(model_name="gpt-4-1106-preview", api_key=OPENAI_API_KEY),
65
- )
66
  researcher = Agent(
67
  role="Article Researcher",
68
  goal='''how can I simplify the process of reviewing the editor's content to ensure its accuracy and relevance?
@@ -80,7 +80,7 @@ else:
80
  verbose=True,
81
  allow_delegation=True,
82
  tools=[search_tool],
83
- llm=ChatOpenAI(model_name="gpt-4-1106-preview", api_key=OPENAI_API_KEY),
84
  )
85
 
86
  # Create tasks for your agents
 
61
  verbose=True,
62
  allow_delegation=False,
63
  tools=[search_tool],
64
+ llm=ChatOpenAI(model_name="gpt-4o", api_key=OPENAI_API_KEY), # Feel free to switch back to gpt-4-1106-preview/gpt-4o-mini
65
+ )
66
  researcher = Agent(
67
  role="Article Researcher",
68
  goal='''how can I simplify the process of reviewing the editor's content to ensure its accuracy and relevance?
 
80
  verbose=True,
81
  allow_delegation=True,
82
  tools=[search_tool],
83
+ llm=ChatOpenAI(model_name="gpt-4o", api_key=OPENAI_API_KEY),
84
  )
85
 
86
  # Create tasks for your agents