Skip to content

Commit c7e7435

Browse files
authored
Merge branch 'main' into blove/fervent-elgamal-c69ca9
2 parents e5e346f + adf6795 commit c7e7435

35 files changed

Lines changed: 5220 additions & 145 deletions

apps/website/content/docs/chat/api/api-docs.json

Lines changed: 82 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2074,6 +2074,32 @@
20742074
}
20752075
]
20762076
},
2077+
{
2078+
"name": "reasoningRun",
2079+
"signature": "reasoningRun(index: number): object",
2080+
"description": "Aggregate the reasoning RUN starting at `index`: joins each step's\nreasoning, sums durations, counts steps, and computes the streaming flag\nand the merged label when N > 1 (\"Thought for {total} · {N} steps\", or\njust \"{N} steps\" when no step reported timing).",
2081+
"params": [
2082+
{
2083+
"name": "index",
2084+
"type": "number",
2085+
"description": "",
2086+
"optional": false
2087+
}
2088+
]
2089+
},
2090+
{
2091+
"name": "reasoningRunStart",
2092+
"signature": "reasoningRunStart(index: number): boolean",
2093+
"description": "True when message[index] starts a reasoning RUN — a maximal sequence of\nconsecutive assistant reasoning steps separated only by (hidden) tool\nmessages. The merged reasoning pill renders once, here.",
2094+
"params": [
2095+
{
2096+
"name": "index",
2097+
"type": "number",
2098+
"description": "",
2099+
"optional": false
2100+
}
2101+
]
2102+
},
20772103
{
20782104
"name": "submitMessage",
20792105
"signature": "submitMessage(text: string): void",
@@ -4975,6 +5001,28 @@
49755001
],
49765002
"methods": []
49775003
},
5004+
{
5005+
"name": "MarkdownHtmlComponent",
5006+
"kind": "class",
5007+
"description": "Renders a `html-block` / `html-inline` markdown node as **escaped text** —\nthe raw HTML is shown literally (Angular interpolation auto-escapes it),\nnever injected as live markup. This preserves the pre-0.4 behavior where\nraw HTML was plain text, and keeps the chat XSS-safe: model-emitted\n`<script>`, `<iframe>`, etc. are displayed as text and never executed.",
5008+
"params": [],
5009+
"examples": [],
5010+
"properties": [
5011+
{
5012+
"name": "node",
5013+
"type": "InputSignal<MarkdownHtmlBlockNode | MarkdownHtmlInlineNode>",
5014+
"description": "",
5015+
"optional": false
5016+
},
5017+
{
5018+
"name": "raw",
5019+
"type": "Signal<string>",
5020+
"description": "",
5021+
"optional": false
5022+
}
5023+
],
5024+
"methods": []
5025+
},
49785026
{
49795027
"name": "MarkdownImageComponent",
49805028
"kind": "class",
@@ -5061,6 +5109,40 @@
50615109
],
50625110
"methods": []
50635111
},
5112+
{
5113+
"name": "MarkdownMathComponent",
5114+
"kind": "class",
5115+
"description": "Renders a `math-inline` / `math-display` markdown node as KaTeX. KaTeX is\nlazy-loaded (see katex-loader); until it resolves, or if the LaTeX is\ninvalid, the raw `$…$` source is shown — never blank, never a crash.",
5116+
"params": [],
5117+
"examples": [],
5118+
"properties": [
5119+
{
5120+
"name": "display",
5121+
"type": "Signal<boolean>",
5122+
"description": "",
5123+
"optional": false
5124+
},
5125+
{
5126+
"name": "html",
5127+
"type": "Signal<SafeHtml | null>",
5128+
"description": "",
5129+
"optional": false
5130+
},
5131+
{
5132+
"name": "node",
5133+
"type": "InputSignal<MathNode>",
5134+
"description": "",
5135+
"optional": false
5136+
},
5137+
{
5138+
"name": "raw",
5139+
"type": "Signal<string>",
5140+
"description": "",
5141+
"optional": false
5142+
}
5143+
],
5144+
"methods": []
5145+
},
50645146
{
50655147
"name": "MarkdownParagraphComponent",
50665148
"kind": "class",

0 commit comments

Comments
 (0)