fix(usage): infer history modality, format ticket fees, and drop fake drawer previews - #47
Merged
Merged
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Collaborator
Author
|
Not super satisfied with Infer modality from capability metadata, but this works until we get time to improve the runner side for pricing |
4 tasks
5 tasks
eliteprox
force-pushed
the
fix/usage-history-modality
branch
from
September 5, 2026 02:59
ca11b56 to
8ffd254
Compare
eliteprox
force-pushed
the
fix/usage-history-modality
branch
from
September 5, 2026 03:18
8ffd254 to
4f0b45d
Compare
Keep the in-memory MCP store so this can land on main without racing Codex's waitlist migrations. Output joins stay a no-op until mcp_assets exists on that chain.
eliteprox
force-pushed
the
fix/usage-history-modality
branch
from
September 5, 2026 06:32
4f0b45d to
aa3e699
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.
Summary
Usage history treated OpenMeter
pipelineas a first-party pipeline id (text-to-image→t2i). Live-runner tickets now write the price unit there (fixed,hour,720p), so the modality pill collapsed to"f"and the request drawer fell through to JSON.This PR is history UI only. The MCP asset store stays an in-memory
Mapso this can land onmainwithout a competing Drizzle0000. Persist + output joins stay onfeat/mcp-assets-on-early-access.endpoint_id, app slug). Persistent live jobs (hour/live) resolve asrealtime. Unknown batch tickets stayunknowninstead of looking like live video.subhashes to the sameeu_principal as Console (ready for a later asset join).Test plan
/homeHistory: live-runner rows (e.g.livepeer-example/fal-gpt-image-2) show at2ipill, notforfixedhourtickets showrealtime; unknown batch apps showunknown, not a live sessiont2i; preview is empty unless a URL is presentedit/i2v/asrvideo-understanding/ ASR rows are text, not a video playert2i) still filterstext-to-image,live-video-to-video) still map tot2i/v2vlib/mcp/store.tsis still the in-memoryMap(nodb//drizzle/)