Skip to content

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

1.4 KB
Raw Blame
{
  "id": "086",
  "user": "what does CORS stand for",
  "mode": "act",
  "tab": {
    "url": "about:home",
    "title": "New Tab"
  },
  "latencyMs": 4195,
  "error": null,
  "firstToolCall": null,
  "toolCallSource": null,
  "finishReason": "stop",
  "content": "\n\nCORS stands for **Cross-Origin Resource Sharing**.\n\nIt's a browser security mechanism that lets a web page at one origin (e.g., `https://site-a.com`) request resources from a different origin (e.g., `https://api.site-b.com`). The server at the second origin opts in by sending specific HTTP headers (like `Access-Control-Allow-Origin`) that tell the browser it's safe to expose the response to the first origin. Without that opt-in, the browser blocks the response to protect you from cross-site scripting-style attacks.",
  "usage": {
    "prompt_tokens": 23058,
    "completion_tokens": 184,
    "total_tokens": 23242,
    "cost": 0.00710748,
    "is_byok": false,
    "prompt_tokens_details": {
      "cached_tokens": 128,
      "cache_write_tokens": 0,
      "audio_tokens": 0,
      "video_tokens": 0
    },
    "cost_details": {
      "upstream_inference_cost": 0.00710748,
      "upstream_inference_prompt_cost": 0.00688668,
      "upstream_inference_completions_cost": 0.0002208
    },
    "completion_tokens_details": {
      "reasoning_tokens": 90,
      "image_tokens": 0,
      "audio_tokens": 0
    }
  },
  "attempts": 1,
  "retryErrors": []
}