Skip to content

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

1.9 KB
Raw Blame
{
  "id": "010",
  "category": "loop-bad-url",
  "mode": "act",
  "browser": "chrome",
  "tab": {
    "url": "about:home",
    "title": "New Tab"
  },
  "description": "Navigation to a malformed URL (missing scheme + typo) silently became a search. Re-interpret what the user meant.",
  "seed": [
    {
      "role": "user",
      "content": "[Current page context β€” applies to this user message and supersedes older page context for phrases like \"this page\". URL: about:home β€” Title: New Tab]\n\ngo to githhub.com"
    },
    {
      "role": "assistant",
      "content": "",
      "tool_calls": [
        {
          "id": "call_d_1eeb2e",
          "type": "function",
          "function": {
            "name": "navigate",
            "arguments": "{\"url\":\"githhub.com\"}"
          }
        }
      ]
    },
    {
      "role": "tool",
      "tool_call_id": "call_d_1eeb2e",
      "name": "navigate",
      "content": "{\"success\":false,\"error\":\"navigate: invalid URL (githhub.com β€” missing scheme or malformed). Did you mean https://github.com?\"}"
    },
    {
      "role": "user",
      "content": "[Current page context β€” applies to this user message and supersedes older page context for phrases like \"this page\". URL: about:home β€” Title: New Tab]\n\nyes that"
    }
  ],
  "expected": {
    "idealNextToolCall": {
      "name": "navigate",
      "args": {
        "url": "https://github.com"
      }
    },
    "antiPatterns": [
      {
        "match": "navigate({url:\"githhub.com\"})",
        "reason": "Same malformed URL."
      },
      {
        "match": "clarify({question:\"...\"})",
        "reason": "User already confirmed β€” clarify would be unnecessary friction."
      }
    ],
    "successRubric": "Correct the typo (githhub β†’ github) and navigate. No clarify needed β€” the previous error message already proposed the fix and the user agreed."
  }
}