Repository navigation
Preserve model price history and schedule rate changes - #349
Open
mintuhouse wants to merge 2 commits into
Open
mintuhouse wants to merge 2 commits into
mintuhouse wants to merge 2 commits into
Conversation
mintuhouse
commented
Oct 22, 2026
Contributor
- Preserve manual model price history and schedule future USD rates through the existing provider editor. Current changes create immutable versions. Future entries can be edited or cancelled, and restoring catalog defaults cancels scheduled overrides.
- Resolve prices at each upstream request's start and persist a credential-free rate snapshot before dispatch. Apply the same request costs to saved history and spend limits, including native-web continuations, while preserving authorization, writer fencing and prompt cancellation.
- Add JSONB columns to existing model and message records. Initialize existing manual rates at migration time without inventing earlier prices.
- Match binary smoke testing to the documented five-second HTTP drain plus five-second resource cleanup budget.
- Follow up usage totals #342. Partial-usage recovery, recorded-cost summary columns and incompleteness reporting remain in the saved plan. Missing costs continue to count as zero for now.
- Walkthrough:

Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
Contributor
Author
|
Validation results for
|
Deploying with
|
| Status | Name | Latest Commit | Preview URL | Updated (UTC) |
|---|---|---|---|---|
| ✅ Deployment successful! View logs |
www-astralbeam-ai | 59b0592 | Commit Preview URL Branch Preview URL |
Oct 23 2026, 08:53 AM |
Contributor
Author
|
@cursor review |
There was a problem hiding this comment.
✅ Bugbot reviewed your changes and found no new issues!
Comment @cursor review or bugbot run to trigger another review on this PR
Reviewed by Cursor Bugbot for commit c5dc876. Configure here.
mintuhouse
force-pushed
the
mintuhouse/request-pricing-snapshots
branch
from
October 23, 2026 08:52
c5dc876 to
59b0592
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.