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": 4662,
  "error": null,
  "firstToolCall": {
    "name": "done",
    "args": {
      "summary": "Closures were first developed in the 1960s for the λ-calculus and first fully implemented in 1970 as a language feature in the PAL programming language."
    }
  },
  "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": "ideal_name",
  "scoreNote": null,
  "finishReason": "tool_calls",
  "content": "<function name=\"done\"><param name=\"summary\">Closures were first developed in the 1960s for the λ-calculus and first fully implemented in 1970 as a language feature in the PAL programming language.</param></function>",
  "usage": {
    "prompt_tokens": 8276,
    "completion_tokens": 47,
    "total_tokens": 8323
  }
}