{
 "flight": {
  "id": 927411,
  "agent": "devin",
  "state": "merged",
  "title": "feat: add auto top-up credits functionality",
  "number": 308,
  "source": "aidev",
  "commits": 6,
  "debrief": "Devin opened a feature PR to llmgateway adding auto top-up credits, which charges an organization when its balance falls below a configurable threshold. The change adds columns to the organization table and spans 1910 additions and 136 deletions across twelve files in six commits. The PR merged after 12.54 hours with no changes requested.",
  "outcome": "merged_clean",
  "signals": [
   "aidev:Devin"
  ],
  "index_ok": true,
  "additions": 1910,
  "closed_at": "2025-06-07T13:15:53+00:00",
  "deletions": 136,
  "merged_at": "2025-06-07T13:15:53+00:00",
  "opened_at": "2025-06-07T00:43:46+00:00",
  "task_type": "feat",
  "body_chars": 2142,
  "confidence": "dataset",
  "updated_at": "2026-11-04T02:27:53.858852+00:00",
  "enriched_at": null,
  "body_excerpt": "## Auto Top-Up Credits Feature\n\nThis PR implements an auto top-up credits functionality that automatically charges users when their credit balance falls below a configurable threshold.\n\n### Changes Made\n\n#### Database Schema\n- Added auto top-up columns to `organization` table:\n  - `autoTopUpEnabled`",
  "review_count": 0,
  "files_changed": 12,
  "hours_to_merge": 12.54,
  "metrics_source": "aidev_commit_sum",
  "change_requests": 0,
  "og_generated_at": "2026-11-04T02:27:53.858852+00:00",
  "reviewer_excerpt": null,
  "review_comment_count": 0,
  "reviewer_excerpt_url": null
 },
 "repo": {
  "name": "llmgateway",
  "owner": "theopenco",
  "stars": 1732,
  "license": "NOASSERTION",
  "full_name": "theopenco/llmgateway",
  "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": "Luca Steeb"
  },
  {
   "at": "2025-06-07T13:15:53+00:00",
   "url": null,
   "kind": "merged",
   "actor_login": "steebchen"
  },
  {
   "at": "2025-06-07T13:15:53+00:00",
   "url": null,
   "kind": "closed",
   "actor_login": "steebchen"
  }
 ],
 "related": [
  {
   "agent": "cursor",
   "state": "merged",
   "title": "fix(onboarding): adapt API key display",
   "number": 462,
   "outcome": "merged_clean",
   "index_ok": true,
   "additions": 205,
   "deletions": 63,
   "merged_at": "2025-07-04T21:00:28+00:00",
   "opened_at": "2025-07-04T20:51:30+00:00",
   "task_type": "fix",
   "files_changed": 1,
   "hours_to_merge": 0.15
  },
  {
   "agent": "cursor",
   "state": "merged",
   "title": "fix(credits): handle failed payment intents",
   "number": 449,
   "outcome": "merged_clean",
   "index_ok": true,
   "additions": 33,
   "deletions": 2,
   "merged_at": "2025-07-03T21:38:30+00:00",
   "opened_at": "2025-07-03T21:31:32+00:00",
   "task_type": "fix",
   "files_changed": 1,
   "hours_to_merge": 0.12
  },
  {
   "agent": "cursor",
   "state": "merged",
   "title": "fix(telemetry): make telemetry opt-in with docker default",
   "number": 443,
   "outcome": "merged_clean",
   "index_ok": true,
   "additions": 43,
   "deletions": 53,
   "merged_at": "2025-07-03T00:51:44+00:00",
   "opened_at": "2025-07-03T00:02:02+00:00",
   "task_type": "fix",
   "files_changed": 5,
   "hours_to_merge": 0.83
  }
 ],
 "pr_url": "https://github.com/theopenco/llmgateway/pull/308",
 "page": "https://agentriders.com/logs/theopenco/llmgateway/308/"
}