diff options
Diffstat (limited to 'gn2/wqflask/views.py')
-rw-r--r-- | gn2/wqflask/views.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/gn2/wqflask/views.py b/gn2/wqflask/views.py index 7ce0c96e..bb086a84 100644 --- a/gn2/wqflask/views.py +++ b/gn2/wqflask/views.py @@ -278,8 +278,7 @@ def gnqna(): lambda err: err, lambda tok: tok["access_token"]) return monad_requests.put( urljoin(GN3_LOCAL_URL, - "/api/llm/search"), - json=dict(request.form), + f"/api/llm/search?query={request.form.get('querygnqa')}"), headers={ "Authorization": f"Bearer {token}" } |