{
 "flight": {
  "id": 929706,
  "agent": "devin",
  "state": "closed",
  "title": "fix: use actual token counts instead of simplified counting",
  "number": 54,
  "source": "aidev",
  "commits": 14,
  "debrief": null,
  "outcome": "abandoned",
  "signals": [
   "aidev:Devin"
  ],
  "index_ok": false,
  "additions": 188,
  "closed_at": "2025-02-12T01:56:10+00:00",
  "deletions": 83,
  "merged_at": null,
  "opened_at": "2025-02-11T09:33:01+00:00",
  "task_type": "fix",
  "body_chars": 483,
  "confidence": "dataset",
  "updated_at": "2026-11-03T17:53:33.703657+00:00",
  "enriched_at": null,
  "body_excerpt": "Fix token counting in server.ts to use actual content length estimation instead of simplified 1-token-per-message counting.\n\nChanges:\n- Replace Vercel's 1-token-per-message convention with content length estimation\n- Update token counting for all response types (answers, non-answers, errors)\n- Maint",
  "review_count": 0,
  "files_changed": 10,
  "hours_to_merge": null,
  "metrics_source": "aidev_commit_sum",
  "change_requests": 0,
  "og_generated_at": null,
  "reviewer_excerpt": null,
  "review_comment_count": 0,
  "reviewer_excerpt_url": null
 },
 "repo": {
  "name": "node-DeepResearch",
  "owner": "jina-ai",
  "stars": 5242,
  "license": "Apache-2.0",
  "full_name": "jina-ai/node-DeepResearch",
  "primary_language": "TypeScript"
 },
 "author": {
  "login": "devin-ai-integration[bot]",
  "name": null,
  "github_profile": "https://github.com/devin-ai-integration[bot]",
  "page": null
 },
 "claim": null,
 "events": [
  {
   "at": null,
   "url": null,
   "kind": "committed",
   "actor_login": "Devin AI"
  },
  {
   "at": null,
   "url": null,
   "kind": "committed",
   "actor_login": "Devin AI"
  },
  {
   "at": null,
   "url": null,
   "kind": "committed",
   "actor_login": "Devin AI"
  },
  {
   "at": null,
   "url": null,
   "kind": "committed",
   "actor_login": "Devin AI"
  },
  {
   "at": null,
   "url": null,
   "kind": "committed",
   "actor_login": "Devin AI"
  },
  {
   "at": null,
   "url": null,
   "kind": "committed",
   "actor_login": "Devin AI"
  },
  {
   "at": null,
   "url": null,
   "kind": "committed",
   "actor_login": "Devin AI"
  },
  {
   "at": null,
   "url": null,
   "kind": "committed",
   "actor_login": "Devin AI"
  },
  {
   "at": null,
   "url": null,
   "kind": "committed",
   "actor_login": "Devin AI"
  },
  {
   "at": null,
   "url": null,
   "kind": "committed",
   "actor_login": "Devin AI"
  },
  {
   "at": null,
   "url": null,
   "kind": "committed",
   "actor_login": "Devin AI"
  },
  {
   "at": null,
   "url": null,
   "kind": "committed",
   "actor_login": "Devin AI"
  },
  {
   "at": null,
   "url": null,
   "kind": "committed",
   "actor_login": "Devin AI"
  },
  {
   "at": null,
   "url": null,
   "kind": "committed",
   "actor_login": "Devin AI"
  },
  {
   "at": "2025-02-12T01:56:10+00:00",
   "url": null,
   "kind": "closed",
   "actor_login": "hanxiao"
  }
 ],
 "related": [
  {
   "agent": "devin",
   "state": "merged",
   "title": "fix: update evaluator tests to use proper AnswerAction type",
   "number": 58,
   "outcome": "merged_clean",
   "index_ok": true,
   "additions": 111,
   "deletions": 6,
   "merged_at": "2025-02-11T11:54:27+00:00",
   "opened_at": "2025-02-11T11:40:54+00:00",
   "task_type": "fix",
   "files_changed": 6,
   "hours_to_merge": 0.23
  },
  {
   "agent": "devin",
   "state": "merged",
   "title": "feat: add models API endpoints",
   "number": 52,
   "outcome": "merged_clean",
   "index_ok": true,
   "additions": 47,
   "deletions": 1,
   "merged_at": "2025-02-10T06:08:13+00:00",
   "opened_at": "2025-02-10T06:06:11+00:00",
   "task_type": "feat",
   "files_changed": 2,
   "hours_to_merge": 0.03
  },
  {
   "agent": "devin",
   "state": "merged",
   "title": "fix: update docs and auth behavior",
   "number": 50,
   "outcome": "merged_clean",
   "index_ok": true,
   "additions": 49,
   "deletions": 121,
   "merged_at": "2025-02-09T05:37:32+00:00",
   "opened_at": "2025-02-09T01:39:48+00:00",
   "task_type": "fix",
   "files_changed": 3,
   "hours_to_merge": 3.96
  }
 ],
 "pr_url": "https://github.com/jina-ai/node-DeepResearch/pull/54",
 "page": "https://agentriders.com/logs/jina-ai/node-DeepResearch/54/"
}