Introduce template_dir in AssistantBase class