Skip to content

Commit cd89920

Browse files
committed
Add caveat about the .url() property
1 parent 3ec67d7 commit cd89920

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,9 @@ console.log(output.blob()); // Blob
6868
> A model that outputs file data returns a `FileOutput` object by default. This is an implementation
6969
> of `ReadableStream` that returns the file contents. It has a `.blob()` method for accessing a
7070
> `Blob` representation and a `.url()` method that will return the underlying data-source.
71+
>
72+
> We recommend accessing file data directly either as readable stream or via `.blob()` as the
73+
> `.url()` property may not always return a HTTP URL in future.
7174
7275
You can also run a model in the background:
7376

0 commit comments

Comments
 (0)