docs: prefer UploadedAsset.ref for model inputs (RUN-418 shipped backend-side)#8
Merged
Merged
Conversation
The backend now resolves runflow://assets/{uuid} refs to freshly signed
URLs at model dispatch (monorepo ee8d34ec + e08eb657, verified live —
formerly tracked as RUN-418). That makes ref the right default: it never
expires, while the signed url stays the short-TTL answer for browser
previews. JSDoc + README examples updated; patch changeset; no runtime
changes.
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.
The backend resolves
runflow://assets/{uuid}refs to freshly signed URLs at model dispatch (monorepoee8d34ec+e08eb657/#987) — verified live today: a raw ref dispatched togoogle/nano-banana-pro/editwas re-signed in the run input and the run succeeded (019eb3a2-87d2-7050-90e2-89cb7209f8ba). RUN-418 is therefore already satisfied.This flips the SDK guidance accordingly:
UploadedAsset.ref= preferred model input + the thing to store (never expires)url= short-TTL signed https for immediate browser use (previews/<img>), re-mint viarf.assets.get(id)Merging this feeds the release loop → 0.1.1.
🤖 Generated with Claude Code