Spaces:
Running
Running
Update app.py
Browse files
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-
|
| 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-
|
| 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
|