aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gn2/wqflask/views.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/gn2/wqflask/views.py b/gn2/wqflask/views.py
index 7e63f165..d035f79d 100644
--- a/gn2/wqflask/views.py
+++ b/gn2/wqflask/views.py
@@ -314,7 +314,7 @@ def gnqna():
return render_template("gnqa_answer.html", **search_result)
if request.method == "POST":
- safe_query = urlib.parse.urlencode({"query": request.form.get("querygnqa")})
+ safe_query = urllib.parse.urlencode({"query": request.form.get("querygnqa")})
return monad_requests.put(
urljoin(GN3_LOCAL_URL, f"/api/llm/search?{safe_query}"),
headers={"Authorization": f"Bearer {token}"},