Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -10,7 +10,7 @@ load_dotenv()
|
|
10 |
llm = ChatOpenAI(model="gpt-4o")
|
11 |
|
12 |
toolset = ComposioToolSet()
|
13 |
-
tools = toolset.get_tools(apps=[App.
|
14 |
|
15 |
def find_hackernews_posts(message,history):
|
16 |
input_website = message
|
@@ -26,7 +26,8 @@ def find_hackernews_posts(message,history):
|
|
26 |
hacnews_task = Task(
|
27 |
description=f"""
|
28 |
Use the serp tool to search for the website of name {input_website} to read its content and take a screenshot,
|
29 |
-
and then roast it. Be insanely funny, make it shareworthy
|
|
|
30 |
""",
|
31 |
expected_output="The Website was roasted",
|
32 |
agent=hacnews_agent,
|
|
|
10 |
llm = ChatOpenAI(model="gpt-4o")
|
11 |
|
12 |
toolset = ComposioToolSet()
|
13 |
+
tools = toolset.get_tools(apps=[App.WEBTOOL, App.BROWSER_TOOL, App.IMAGE_ANALYSER])
|
14 |
|
15 |
def find_hackernews_posts(message,history):
|
16 |
input_website = message
|
|
|
26 |
hacnews_task = Task(
|
27 |
description=f"""
|
28 |
Use the serp tool to search for the website of name {input_website} to read its content and take a screenshot,
|
29 |
+
and then roast it. Be insanely funny, make it shareworthy.
|
30 |
+
Note: Write a detailed roast.
|
31 |
""",
|
32 |
expected_output="The Website was roasted",
|
33 |
agent=hacnews_agent,
|