Jadpo is experimental and not ready for production. These docs follow the compiler's main branch as of 5 Nov 2026. What's built · Install 0.3.0
jadpo
ReferenceErrors

ErrorsHTTP · rule

route.stream_invalid

Streaming route answers with another status or waits with settle:.

Area 7, HTTP; not declinable; the next step is usually the agent's.

A route whose action returns an AiStream sends the model's answer as it is written, answering 200 once the first piece has come; it takes no other status: and no settle::

example
use support/types { Asked }use support/actions { stream_answer }/// Customers' questions.routes HelpDesk {    prefix: /help_desk    /// Streams the assistant's reply as it is written.    POST / {        authentication: RouteAuthentication.none        input: Asked        output: AiStream        status: SuccessStatus.created        run: stream_answer(input)    }}
jadpo checkcheck failed: 1 error, 9 files

error POST /help_desk streams a model's answer with SuccessStatus.created

--> domains/support/routes/help_desk.jadpo:13:9

   |13 |         status: SuccessStatus.created   |         ^^^^^^ not `SuccessStatus.ok`
reason
A route whose action returns an AiStream sends the model's answer as server-sent events as it is written, answering 200 once its first piece has come; it has no other success to report, and nothing to wait for with settle:.
next
Remove status:; a stream answers 200 (agent)
rule
route.stream_invalid
help
https://jadpo.dev/docs/errors/route.stream_invalid

Markdown for agents: /docs/errors/route.stream_invalid.md.Built from Jadpo main at aee2e8f.