ChatBot.check_llm_status()

Check the status of LLM integration and get setup help if needed.

Usage

Source

ChatBot.check_llm_status()

Returns a dictionary indicating whether the LLM backend is active, the current status string, and a help payload with troubleshooting guidance when the integration is not enabled.

Returns

dict

A dictionary with the following keys:

  • "enabled" (bool): Whether the LLM is active.
  • "status" (str): Human-readable status label.
  • "help" (str | dict): Setup instructions or confirmation message.

Examples

import talk_box as tb

bot = tb.ChatBot()
status = bot.check_llm_status()
status["enabled"]
True