Skip to content

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

2.0 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": 2457,
  "error": null,
  "firstToolCall": {
    "name": "fetch_url",
    "args": {
      "url": "https://en.wikipedia.org/w/api.php?action=parse&page=Closure_(computer_programming)&prop=wikitext&format=json",
      "find": "first"
    }
  },
  "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": null,
  "usage": {
    "prompt_tokens": 7937,
    "completion_tokens": 91,
    "total_tokens": 8028,
    "cost": 0.00152916,
    "is_byok": false,
    "prompt_tokens_details": {
      "cached_tokens": 6272,
      "cache_write_tokens": 0,
      "audio_tokens": 0,
      "video_tokens": 0
    },
    "cost_details": {
      "upstream_inference_cost": 0.00152916,
      "upstream_inference_prompt_cost": 0.00129711,
      "upstream_inference_completions_cost": 0.00023205
    },
    "completion_tokens_details": {
      "reasoning_tokens": 23,
      "image_tokens": 0,
      "audio_tokens": 0
    }
  }
}