Skip to main content

Chat Mode

Chat mode provides a conversational interface for exploring a topic without a structured plan.

Agents

ChatModeMainChatAgent

inherits from ChatAgent (in app.core.agents).

get_welcome_message(topic_name, user_background)

Generates an engaging opening message to start the conversation, tailored to the user's background and the chosen topic.

System Prompt

Uses get_chat_system_message to configure the LLM as a helpful, knowledgeable tutor that answers questions directly rather than following a strict curriculum.