| Name | Type | Description |
|---|---|---|
token* | str | list[str | dict[str, Any]] | The new token, or a list of content blocks. |
chunk | GenerationChunk | ChatGenerationChunk | None | Default: None |
**kwargs | Any | Default: {} |
Run when LLM generates a new token.
The chunk.
Additional keyword arguments.