ModalScreen[None]| Name | Type | Description |
|---|---|---|
answer* | Callable[[str], Awaitable[str]] | Generate a complete side answer. |
question | str | Default: ''Initial question, or empty to start with the editor. |
history | Sequence[tuple[str, str]] | Default: () |
stream_answer | Callable[[str, Callable[[str], Awaitable[None]]], Awaitable[str]] | None | Default: None |
on_clear | Callable[[], None] | None | Default: None |
Chat independently of the main run with restorable side exchanges.
Completed exchanges to restore when reopening the conversation.
Optional generator that delivers fragments to its receiver.
Discard the caller's side-conversation history on reset.