{% if chat_history %}
Conversation so far:
{{chat_history}}

{% endif %}Student message:
{{user_prompt}}

{% if active_file_path %}Active file: {{active_file_path}}
{% endif %}{% if active_directory %}Active directory: {{active_directory}}
{% endif %}{% if file_content %}
Below is the current file content with line numbers:
{{file_content}}
{% endif %}

Respond with:
- one short answer first
- then 2 or 3 concrete debugging checks
- do not provide the full solution unless the user explicitly asks for it
