consistent whitespace

This commit is contained in:
Simon Klee
2026-04-20 09:29:20 +02:00
parent 737975cae1
commit 7902a040de

View File

@@ -66,9 +66,9 @@ function reasoningBody(raw: string): RunEntryBody {
const lead = clean.match(/^\n+/)?.[0] ?? ""
const body = lead ? clean.slice(lead.length) : clean
const mark = "Thinking: "
const mark = "Thinking:"
if (body.startsWith(mark)) {
return codeBody(`${lead}_Thinking:_ ${body.slice(mark.length)}`, "markdown")
return codeBody(`${lead}_Thinking:_ ${body.slice(mark.length).trimStart()}`, "markdown")
}
return codeBody(clean, "markdown")