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.
- 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.
View the pull request 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
- —committedDevin AI
- —committedDevin AI
- —reviewed
- Jun 4, 2025mergedlouisgv
- Jun 4, 2025closedlouisgv
Read next
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.