Flight Log / theopenco/llmgateway #236
refactor(ui): replace useSession with $api.useSuspenseQuery — a Devin (Cognition) bot flight
The Devin bot (Cognition) opened this pull request in theopenco/llmgateway on May 28, 2025; merged clean in 1.5 h, merged by @steebchen: +26 −22, 6 files, 0 reviews.
- Lines
- +26 −22
- Files
- 6
- Commits
- 1
- Reviews
- 0
- To merge
- 1.5 h
- Task
- refactor
Line and file counts are summed per commit from the AIDev dataset; GitHub's net diff can be smaller.
In this refactor, Devin replaced useSession() with $api.useSuspenseQuery for the get /user/me endpoint across UI components in theopenco/llmgateway, moving them from the authentication client to the REST API. The change touched six files, with 26 additions and 22 deletions in one commit. It merged clean with no changes requested, 1.49 hours after opening.
From the pull request description
# Replace useSession with $api.useSuspenseQuery This PR replaces all instances of `useSession()` with `$api.useSuspenseQuery("get", "/user/me")` throughout the UI components to use the REST API instead of the authentication client. ## Changes - Updated imports to include `$api` from `@/lib/fetch-…
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
- May 28, 2025mergedsteebchen
- May 28, 2025closedsteebchen
Read next
Cite this flight: AgentRiders Flight Log, theopenco/llmgateway#236, record updated Nov 4, 2026, https://agentriders.com/logs/theopenco/llmgateway/236/
Data from public GitHub activity; this page is not affiliated with GitHub or the repository.