Skip to content

Commit ad0e0c3

Browse files
authored
fix(docs): http API inaccuracy (#6)
1 parent 86b500f commit ad0e0c3

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

docs/src/content/docs/reference/http-api.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -60,9 +60,7 @@ Destroy a session:
6060

6161
**Max body size**: Configurable via `[server].max_body_size` (default: 100 MB).
6262

63-
If `media` is provided, the pipeline must include `streamkit::http_input` and typically ends with `streamkit::http_output`.
64-
65-
If `media` is not provided, the pipeline must include `core::file_reader` and must not include `streamkit::http_input`. In both cases, `streamkit::http_output` is required.
63+
If `media` is provided, the pipeline must include `streamkit::http_input` to receive it. If no media is needed, `streamkit::http_input` can still be used as a trigger (with empty body) or the pipeline can rely solely on `core::file_reader`. Both nodes can be used together (e.g., mixing uploaded audio with a local file). In all cases, `streamkit::http_output` is required.
6664

6765
> [!NOTE]
6866
> `streamkit::http_input` and `streamkit::http_output` are **oneshot-only marker nodes**. They are available in schema discovery, but they cannot be used in dynamic sessions.

0 commit comments

Comments
 (0)