Open-source AI browser agent for Chrome and Firefox (monorepo) ðŸ§
JavaScript ai-agentai-agentsai-toolsbrowser-aibrowser-automationbrowser-extensionchrome-aichrome-devtoolschrome-extensionchrome-extensionsfirefox-addonfirefox-addonsfirefox-extensionfirefox-extensionsgemmagemma4minimaxoffline-aioffline-llmqwen
{
"id": "038",
"category": "truncation-cascade",
"description": "fetch_url returned a long doc truncated mid-method. Extract names from the visible part and report.",
"mode": "ask",
"browser": "chrome",
"latencyMs": 2997,
"error": null,
"firstToolCall": {
"name": "extract_data",
"args": {
"type": "tables"
}
},
"toolCallSource": "tool_calls",
"expected": {
"idealNextToolCall": {
"name": "done",
"args": {
"summary": "Methods listed in the visible head: getUser, updateUser, deleteUser, listUsers, createUser, createProject, updateProject, listProjects. The response was truncated — there may be more below."
}
},
"antiPatterns": [
{
"match": "fetch_url({url:\"https://example-docs.io/api/methods?page=2\"})",
"reason": "Made-up pagination URL."
}
],
"successRubric": "Surface the partial list with an honest \"truncated\" disclaimer. Don't invent pagination URLs."
},
"matchedAntiPattern": null,
"verdict": "other",
"scoreNote": null,
"finishReason": "tool_calls",
"content": "The page contains a list of API methods. The response shows methods like:\n- getUser\n- updateUser\n- deleteUser\n- listUsers\n- createUser\n- createProject\n- updateProject\n- listProjects...\n\nThe text is truncated (originalLength: 40000, _truncated: true). I need to get more of the list. Let me use the `extract_data` tool with type \"tables\" or \"headings\" to get structured data, or I could use `read_page` to get the full content.\n\nActually, the `fetch_url` result already gave me the text, but it's truncated. The `_truncated: true` flag indicates there's more content. I should try to get the continuation.\n\nLooking at the `extract_data` tool, it can extract tables, headings, or images from a page. This might be a good approach to get the structured list of API methods.\n\nLet me try `extract_data` with type \"tables\" first, as API methods are likely listed in a table format.</think>",
"usage": {
"prompt_tokens": 7648,
"total_tokens": 7877,
"completion_tokens": 229,
"prompt_tokens_details": null
}
}