diff --git a/ai_answers.py b/ai_answers.py index 892ef1e..57c514a 100644 --- a/ai_answers.py +++ b/ai_answers.py @@ -900,6 +900,9 @@ class SXNGPlugin(Plugin): if request and hasattr(request, 'headers') and request.headers.get('X-AI-Auxiliary'): return results + if request and request.form.get('format', 'html') != 'html': + return results + if self.question_mark_required and '?' not in search.search_query.query: return results