mirror of
https://github.com/alkimake/paperclip.git
synced 2026-06-17 19:20:39 +09:00
Improve OpenClaw SSE transcript parsing and stream readability
This commit is contained in:
parent
5134cac993
commit
81bc8c7313
5 changed files with 206 additions and 4 deletions
|
|
@ -135,7 +135,7 @@ export interface ServerAdapterModule {
|
|||
// ---------------------------------------------------------------------------
|
||||
|
||||
export type TranscriptEntry =
|
||||
| { kind: "assistant"; ts: string; text: string }
|
||||
| { kind: "assistant"; ts: string; text: string; delta?: boolean }
|
||||
| { kind: "thinking"; ts: string; text: string; delta?: boolean }
|
||||
| { kind: "user"; ts: string; text: string }
|
||||
| { kind: "tool_call"; ts: string; name: string; input: unknown }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue