Skip to content

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

2.0 KB
Raw Blame
{
  "id": "008",
  "category": "loop-bad-url",
  "mode": "act",
  "browser": "chrome",
  "tab": {
    "url": "https://www.reddit.com/login/?dest=https%3A%2F%2Fwww.reddit.com%2Fr%2Fprivate-sub",
    "title": "Reddit"
  },
  "description": "Subreddit is private; Reddit redirected to login. Don't retry the sub URL.",
  "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\nshow me posts in r/private-sub"
    },
    {
      "role": "assistant",
      "content": "",
      "tool_calls": [
        {
          "id": "call_b_1ceb2b",
          "type": "function",
          "function": {
            "name": "navigate",
            "arguments": "{\"url\":\"https://www.reddit.com/r/private-sub\"}"
          }
        }
      ]
    },
    {
      "role": "tool",
      "tool_call_id": "call_b_1ceb2b",
      "name": "navigate",
      "content": "{\"success\":true,\"url\":\"https://www.reddit.com/login/?dest=https%3A%2F%2Fwww.reddit.com%2Fr%2Fprivate-sub\",\"requestedUrl\":\"https://www.reddit.com/r/private-sub\"}"
    },
    {
      "role": "user",
      "content": "[Current page context β€” applies to this user message and supersedes older page context for phrases like \"this page\". URL: https://www.reddit.com/login/?dest=https%3A%2F%2Fwww.reddit.com%2Fr%2Fprivate-sub β€” Title: Reddit]\n\ncontinue"
    }
  ],
  "expected": {
    "idealNextToolCall": {
      "name": "done",
      "args": {
        "summary": "r/private-sub appears to be private or requires login β€” Reddit redirected me to the sign-in page. Sign in (or check the sub name) and try again."
      }
    },
    "antiPatterns": [
      {
        "match": "navigate({url:\"https://www.reddit.com/r/private-sub\"})",
        "reason": "Will redirect to login again."
      }
    ],
    "successRubric": "Recognize the private-sub redirect, report it to the user. Don't fight the auth wall."
  }
}