MCP Server
by jonnyhoff
test = AgentHistoryList(
all_results=[
ActionResult(
is_done=False,
success=None,
extracted_content="đź”— Navigated to https://codrops.com/",
error=None,
include_in_memory=True,
),
ActionResult(
is_done=False,
success=None,
extracted_content="🔍 Scrolled down the page by 500 pixels",
error=None,
include_in_memory=True,
),
ActionResult(
is_done=False,
success=None,
extracted_content='📄 Extracted from page\n: ```json\n{\n "title": "Case Study: Stefan Vitasović Portfolio — 2025",\n "date": "2 hours ago",\n "category": "Articles",\n "link": "https://tympanus.net/codrops/2025/03/05/case-study-stefan-vitasovic-portfolio-2025/",\n "summary": "A detailed case study exploring the portfolio of Stefan Vitasović, showcasing design elements and thought processes behind his work in 2025."\n}\n```\n',
error=None,
include_in_memory=True,
),
ActionResult(
is_done=True,
success=True,
extracted_content="Extracted the following details from the latest post:\n- Title: Case Study: Stefan Vitasović Portfolio — 2025\n- Date: 2 hours ago\n- Category: Articles\n- Link: https://tympanus.net/codrops/2025/03/05/case-study-stefan-vitasovic-portfolio-2025/\n- Summary: A detailed case study exploring the portfolio of Stefan Vitasović, showcasing design elements and thought processes behind his work in 2025.",
error=None,
include_in_memory=False,
),
],
all_model_outputs=[
{"go_to_url": {"url": "https://codrops.com/"}, "interacted_element": None},
{"scroll_down": {"amount": 500}, "interacted_element": None},
{
"extract_content": {
"goal": "Extract title, date, category, link, and summary of the latest post."
},
"interacted_element": None,
},
{
"done": {
"text": "Extracted the following details from the latest post:\n- Title: Case Study: Stefan Vitasović Portfolio — 2025\n- Date: 2 hours ago\n- Category: Articles\n- Link: https://tympanus.net/codrops/2025/03/05/case-study-stefan-vitasovic-portfolio-2025/\n- Summary: A detailed case study exploring the portfolio of Stefan Vitasović, showcasing design elements and thought processes behind his work in 2025.",
"success": True,
},
"interacted_element": None,
},
],
)