Markdown
安全地渲染来自模型或用户的 Markdown:标题、列表、表格、代码块和链接,原始 HTML 保留为文本。
Why the 429s started
Requests to gpt-5 from checkout-api hit the project's limit of 60 a minute at 14:05 UTC. Three things changed:
- The retry loop in the worker doubled its traffic.
- A new key,
kae_live_…3f9a, shares the same limit. - The budget alert fired at 80% — see the usage page(在新标签页中打开).
Raise the limit only after the retry loop backs off.
- [x]Find the cause
- [ ]Ship the backoff
<Markdown text={reply} headingLevel={2} className="w-full max-w-640" />import { Markdown } from "@logicplanes/kaeso-ui/markdown";属性
collapseAfternumber = 24000超过此字符数的文本只显示开头和“显示全部”(默认 24,000;0 表示从不折叠)。
headingLevel4 | 1 | 2 | 3 | 5 | 6 = 3#对应的标题级别(默认 3:低于页面和区块自身的标题)。size"lg" | "body" | "small" = body字号:
small、body或lg。streamingboolean = false文本仍在输出:不折叠,也不缓存 token。
textstringMarkdown 源文本。其中的原始 HTML 保留为文本。
tone"secondary" | "default" = default主要文字(
default)或次要文字(secondary)。trailingReactNode以内联方式绘制在段落、标题或列表项最后一个词之后(绝不单独占一行)。
wrapCodeboolean = false长代码行自动换行而不是横向滚动(窄栏)。