Terminal failures
Use a trusted fallback and observe typed diagnostics:retryKey and begin
with the new attempt’s accumulated source.
See the language specification for exact grammar and commit
rules.Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Pre-alpha: npm packages are not published yet. APIs and documentation may change. View release status.
Skip malformed lines without weakening validation or discarding later valid content from the same streaming response.
root = Answer(children=[title, body])
title = Heading(text="Recovered answer", level=1)
broken = Text(text="This line never closes"
body = RichText(format="markdown", text="Later **valid** content survives.")
<RUIRenderer
streamStatus={status}
fallback={({ diagnostics, status }) => (
<FallbackView state={status} diagnosticCount={diagnostics.length} />
)}
onError={(event) => logDiagnosticCodes(event)}
>
{source}
</RUIRenderer>
retryKey and begin
with the new attempt’s accumulated source.
See the language specification for exact grammar and commit
rules.