docs: update links for streaming decode APIs in README

This commit is contained in:
Johann Schopplich
2025-11-29 22:00:45 +01:00
parent b50d9fd16b
commit 81dfab1d4d
2 changed files with 2 additions and 2 deletions

View File

@@ -141,7 +141,7 @@ for await (const chunk of modelStream) {
const data = decodeFromLines(lines) const data = decodeFromLines(lines)
``` ```
For streaming decode APIs, see [`decodeFromLines()`](/reference/api#decodeFromLines-lines-options) and [`decodeStream()`](/reference/api#decodeStream-source-options). For streaming decode APIs, see [`decodeFromLines()`](/reference/api#decodefromlines-lines-options) and [`decodeStream()`](/reference/api#decodestream-source-options).
## Tips and Pitfalls ## Tips and Pitfalls

View File

@@ -783,7 +783,7 @@ for (const line of encodeLines(largeData)) {
``` ```
> [!TIP] > [!TIP]
> For streaming decode APIs, see [`decodeFromLines()`](/reference/api#decodeFromLines-lines-options) and [`decodeStream()`](/reference/api#decodeStream-source-options). > For streaming decode APIs, see [`decodeFromLines()`](https://toonformat.dev/reference/api#decodefromlines-lines-options) and [`decodeStream()`](https://toonformat.dev/reference/api#decodestream-source-options).
## Playgrounds ## Playgrounds