Skip to content

Open-source AI browser agent for Chrome and Firefox (monorepo) 🧠

1.8 KB
Raw Blame
{
  "id": "032",
  "category": "truncation-cascade",
  "description": "After read_page truncated, agent re-fetched a different Wikipedia endpoint and that also truncated. Should now answer from what it has.",
  "mode": "ask",
  "browser": "chrome",
  "latencyMs": 7188,
  "error": null,
  "firstToolCall": {
    "name": "fetch_url",
    "args": {
      "url": "https://en.wikipedia.org/w/api.php?action=query&prop=revisions&rvprop=content&rvslots=main&rvlimit=1&titles=Closure_(computer_programming)&rvslots=old"
    }
  },
  "toolCallSource": "tool_calls",
  "expected": {
    "idealNextToolCall": {
      "name": "done",
      "args": {
        "summary": "Closures originated in the 1960s in the context of evaluating λ-calculus expressions, and were first fully implemented as a programming-language feature in 1970 in PAL."
      }
    },
    "antiPatterns": [
      {
        "match": "fetch_url({url:\"https://en.m.wikipedia.org/...\"})",
        "reason": "Third re-fetch of the same content with a different endpoint — xiaomi-mimo did exactly this."
      },
      {
        "match": "read_page({})",
        "reason": "Re-reading the same page."
      }
    ],
    "successRubric": "Both fetches returned the answer in their visible portion. Stop fetching, call done. Two truncated reads of the same content rarely improves the answer."
  },
  "matchedAntiPattern": null,
  "verdict": "other",
  "scoreNote": null,
  "finishReason": "tool_calls",
  "content": "<function name=\"fetch_url\"><param name=\"url\"><![CDATA[https://en.wikipedia.org/w/api.php?action=query&prop=revisions&rvprop=content&rvslots=main&rvlimit=1&titles=Closure_(computer_programming)&rvslots=old]]></param></function>",
  "usage": {
    "prompt_tokens": 8276,
    "completion_tokens": 69,
    "total_tokens": 8345
  }
}