on_agent_finish(
self,
finish: AgentFinish,
color: str | None = None,
**kwargs: Any| Name | Type | Description |
|---|---|---|
finish* | AgentFinish | |
color | str | None | Default: None |
**kwargs | Any | Default: {} |
Handle agent finish by writing the finish log.
The agent finish object containing the log to write.
Color override for this specific output.
If None, uses self.color.
Additional keyword arguments.