{
 "flight": {
  "id": 928314,
  "agent": "devin",
  "state": "merged",
  "title": "feat: use cheapest available model for provider validation",
  "number": 339,
  "source": "aidev",
  "commits": 4,
  "debrief": "Devin opened a feature PR in theopenco/llmgateway replacing hardcoded models in validateProviderKey with a helper that selects each provider's cheapest available model. The change touches 51 files with 1495 additions and 804 deletions across four commits. It drew three reviews and zero change requests, and merged clean after one review round.",
  "outcome": "merged_clean",
  "signals": [
   "aidev:Devin"
  ],
  "index_ok": true,
  "additions": 1495,
  "closed_at": "2025-06-16T00:03:09+00:00",
  "deletions": 804,
  "merged_at": "2025-06-16T00:03:09+00:00",
  "opened_at": "2025-06-11T00:45:49+00:00",
  "task_type": "feat",
  "body_chars": 1719,
  "confidence": "dataset",
  "updated_at": "2026-11-04T02:22:42.600769+00:00",
  "enriched_at": null,
  "body_excerpt": "# Use Cheapest Available Model for Provider Validation\n\n## Summary\nModified the `validateProviderKey` function in the LLM Gateway to dynamically select the cheapest available model for each provider instead of using hardcoded models.\n\n## Changes Made\n- **Added `getCheapestModelForProvider` helper fu",
  "review_count": 3,
  "files_changed": 51,
  "hours_to_merge": 119.29,
  "metrics_source": "aidev_commit_sum",
  "change_requests": 0,
  "og_generated_at": "2026-11-04T02:22:42.600769+00:00",
  "reviewer_excerpt": null,
  "review_comment_count": 3,
  "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": "reviewed",
   "actor_login": null
  },
  {
   "at": null,
   "url": null,
   "kind": "committed",
   "actor_login": "Devin AI"
  },
  {
   "at": null,
   "url": null,
   "kind": "reviewed",
   "actor_login": null
  },
  {
   "at": null,
   "url": null,
   "kind": "committed",
   "actor_login": "Devin AI"
  },
  {
   "at": null,
   "url": null,
   "kind": "reviewed",
   "actor_login": null
  },
  {
   "at": null,
   "url": null,
   "kind": "committed",
   "actor_login": "Luca Steeb"
  },
  {
   "at": "2025-06-16T00:03:09+00:00",
   "url": null,
   "kind": "merged",
   "actor_login": "steebchen"
  },
  {
   "at": "2025-06-16T00:03:09+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/339",
 "page": "https://agentriders.com/logs/theopenco/llmgateway/339/"
}