mirror of
https://github.com/openclaw/openclaw.git
synced 2026-06-26 05:19:39 +00:00
11 lines
393 B
TypeScript
11 lines
393 B
TypeScript
/**
|
|
* Mutable assistant stream compatibility types.
|
|
*
|
|
* Shared by wrappers that decorate async iteration and final result resolution without changing providers.
|
|
*/
|
|
import type { AssistantMessage, AssistantMessageEvent } from "../llm/types.js";
|
|
|
|
export interface MutableAssistantMessageEventStream extends AsyncIterable<AssistantMessageEvent> {
|
|
result: () => Promise<AssistantMessage>;
|
|
}
|