Remove the thought from the screen. A cleared thought can’t be reused.
complete(final_label: Optional[str] = None) → None[source]¶
Finish the thought.
on_agent_action(action: AgentAction, color: Optional[str] = None, **kwargs: Any) → Any[source]¶
on_llm_end(response: LLMResult, **kwargs: Any) → None[source]¶
on_llm_error(error: BaseException, **kwargs: Any) → None[source]¶
on_llm_new_token(token: str, **kwargs: Any) → None[source]¶
on_llm_start(serialized: Dict[str, Any], prompts: List[str]) → None[source]¶
on_tool_end(output: str, color: Optional[str] = None, observation_prefix: Optional[str] = None, llm_prefix: Optional[str] = None, **kwargs: Any) → None[source]¶
on_tool_error(error: BaseException, **kwargs: Any) → None[source]¶
on_tool_start(serialized: Dict[str, Any], input_str: str, **kwargs: Any) → None[source]¶