diff options
Diffstat (limited to 'gn2')
-rw-r--r-- | gn2/wqflask/views.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gn2/wqflask/views.py b/gn2/wqflask/views.py index f723958a..a63eacb0 100644 --- a/gn2/wqflask/views.py +++ b/gn2/wqflask/views.py @@ -299,7 +299,7 @@ def gnqna(): if query_type == "xapian": query = clean_xapian_query(query) safe_query = urllib.parse.urlencode({"query": query}) - search_result = requests.put( + search_result = requests.get( urljoin(GN3_LOCAL_URL, f"/api/llm/search?{safe_query}"), headers={"Authorization": f"Bearer {token}"}, ) |