refactor(agents): hide assistant stream delivery types · openclaw/openclaw@9dc9215
vincentkoc
·
2026-06-17
·
via Recent Commits to openclaw:main
| Original file line number | Diff line number | Diff line change |
|---|
@@ -51,7 +51,7 @@ export type ToolCallSummary = {
|
51 | 51 | }; |
52 | 52 | |
53 | 53 | /** User-visible assistant stream payload emitted to subscribers. */ |
54 | | -export type AssistantStreamData = { |
| 54 | +type AssistantStreamData = { |
55 | 55 | text: string; |
56 | 56 | delta: string; |
57 | 57 | replace?: true; |
@@ -60,7 +60,7 @@ export type AssistantStreamData = {
|
60 | 60 | }; |
61 | 61 | |
62 | 62 | /** Deferred assistant stream event plus whether it should emit partial replies. */ |
63 | | -export type AssistantStreamDelivery = { |
| 63 | +type AssistantStreamDelivery = { |
64 | 64 | data: AssistantStreamData; |
65 | 65 | emitPartialReply: boolean; |
66 | 66 | }; |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。