Skip to content

Commit 141173b

Browse files
committed
docs
1 parent 0b0044b commit 141173b

File tree

1 file changed

+11
-2
lines changed

1 file changed

+11
-2
lines changed

docs/protocol.md

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -403,11 +403,20 @@ interface TextContent {
403403
}
404404

405405
/**
406-
* Progress messages from the LLM.
406+
* Progress messages about the chat.
407+
* Usually to mark what eca is doing/waiting or tell it finished processing messages.
407408
*/
408409
interface ProgressContent {
409410
type: 'progress';
410-
state: 'running|finished';
411+
412+
/**
413+
* The state of this progress.
414+
*/
415+
state: 'running' | 'finished';
416+
417+
/*
418+
* Extra text to show in chat about current state of this chat.
419+
*/
411420
text: string;
412421
}
413422

0 commit comments

Comments
 (0)