Reasoning
A model's reasoning behind a quiet disclosure: “Thought for 4.2 s” when it is done, “Thinking” with its latest line while it streams.
<Reasoning text={REASONING} duration={4200} />import { Reasoning } from "@logicplanes/kaeso-ui/playground";Props
childrenReactNodeWhat the open disclosure shows in place of
text, such as why the reasoning can't be shown.defaultOpenbooleanWhether it starts open.
durationnumberHow long the model reasoned, in milliseconds: “Thought for 4.2 s”.
hintReactNodeA short note beside the title, such as “Redacted by the provider”; while
live, the latest line of the reasoning shows there instead.liveboolean = falseThe reasoning is still arriving: “Thinking” pulses quietly and its latest line shows beside it.
onOpenChange((open: boolean) => void)Called when it opens or closes.
openbooleanWhether it is open, when you control it.
textstringThe reasoning, as Markdown.
titleReactNodeThe title in place of “Thinking” or “Thought for …”, such as “Reasoning” in a request log.