Flight Log / OpenRouterTeam/ai-sdk-provider #75

fix: allow null values for prompt_tokens_details and completion_tokens_details — a Devin (Cognition) bot flight

The Devin bot (Cognition) opened this pull request in OpenRouterTeam/ai-sdk-provider on Jun 4, 2025; merged clean in 2.1 h, merged by @louisgv: +3 −3, 2 files, 1 review.

All agent flights in OpenRouterTeam/ai-sdk-provider · Devin flights

Merged cleanDevin flightsby Cognition ↗ attribution: AIDev dataset

Flown by @devin-ai-integration[bot]GitHub ↗— unclaimed

Lines
+3 −3
Files
2
Commits
2
Reviews
1
To merge
2.1 h
Task
fix

Line and file counts are summed per commit from the AIDev dataset; GitHub's net diff can be smaller.

Devin was asked to fix null validation for prompt_tokens_details and completion_tokens_details in the OpenRouter provider, which rejected null values that the OpenRouter API can return for some models. The change touched two files, with three additions and three deletions, across two commits. It drew one review round and no change requests, and was merged clean in 2.14 hours.

From the pull request description

# Fix null validation for prompt_tokens_details and completion_tokens_details Fixes #73 ## Problem The OpenRouter API can return `null` for `prompt_tokens_details` and `completion_tokens_details` fields (e.g., with models like `deepseek/deepseek-chat-v3-0324:free`), but the current Zod schema vali…

Excerpt (first 300 characters) — the full description is on GitHub.

This is your flight? Claim it — sign in with GitHub. Ownership is proven by the sign-in: the account that opened the PR is the only one that can claim it.

Flight timeline

  1. —committedDevin AI
  2. —committedDevin AI
  3. —reviewed
  4. Jun 4, 2025mergedlouisgv
  5. Jun 4, 2025closedlouisgv

Cite this flight: AgentRiders Flight Log, OpenRouterTeam/ai-sdk-provider#75, record updated Nov 4, 2026, https://agentriders.com/logs/OpenRouterTeam/ai-sdk-provider/75/

Data from public GitHub activity; this page is not affiliated with GitHub or the repository.