Skip to content

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

1.2 KB
Raw Blame
{
  "id": "086",
  "user": "what does CORS stand for",
  "tab": {
    "url": "about:home",
    "title": "New Tab"
  },
  "latencyMs": 8349,
  "error": null,
  "firstToolCall": null,
  "toolCallSource": null,
  "finishReason": "stop",
  "content": "CORS stands for **Cross-Origin Resource Sharing**.\n\nIt's a browser security mechanism that allows a web server to specify which other origins (domains, protocols, and ports) are permitted to access its resources. Without CORS, browsers would block frontend JavaScript from making requests to a different origin than the one that served the web page — a restriction known as the **same-origin policy**.",
  "usage": {
    "prompt_tokens": 17483,
    "completion_tokens": 161,
    "total_tokens": 17644,
    "cost": 0.00093743,
    "is_byok": false,
    "prompt_tokens_details": {
      "cached_tokens": 17152,
      "cache_write_tokens": 0,
      "audio_tokens": 0,
      "video_tokens": 0
    },
    "cost_details": {
      "upstream_inference_cost": 0.00093743,
      "upstream_inference_prompt_cost": 0.00075228,
      "upstream_inference_completions_cost": 0.00018515
    },
    "completion_tokens_details": {
      "reasoning_tokens": 0,
      "image_tokens": 0,
      "audio_tokens": 0
    }
  }
}