From c6a3f1945af9a1891d3ecd19ff43b3a3a6eae62c Mon Sep 17 00:00:00 2001 From: Alexander_Kabui Date: Fri, 11 Jul 2025 17:47:02 +0300 Subject: feat: Minor fix. --- gn3/api/llm.py | 4 ---- 1 file changed, 4 deletions(-) (limited to 'gn3/api') diff --git a/gn3/api/llm.py b/gn3/api/llm.py index 8689290..e8ba2b3 100644 --- a/gn3/api/llm.py +++ b/gn3/api/llm.py @@ -200,10 +200,6 @@ def search(auth_token=None, valid_anony=False): raise LLMError( "Request failed: an LLM authorisation token is required ", query) database_setup() - # check if is valid anon - # if valid_anony: - check_rate_limiter(request, current_app.config["LLM_DB_PATH"]) #Will raise error if not - # else verified user allowed with db.connection(current_app.config["LLM_DB_PATH"]) as conn: cursor = conn.cursor() previous_answer_query = """ -- cgit 1.4.1