diff options
Diffstat (limited to 'gn3')
-rw-r--r-- | gn3/llms/process.py | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/gn3/llms/process.py b/gn3/llms/process.py index 9d32d4e..abd307e 100644 --- a/gn3/llms/process.py +++ b/gn3/llms/process.py @@ -72,7 +72,6 @@ def get_gnqa(query, auth_token): api_client = GeneNetworkQAClient(requests.Session(), api_key=auth_token) res, task_id = api_client.ask('?ask=' + quote(query), auth_token) - if task_id == 0 : raise RuntimeError(f"Error connecting to Fahamu Api: {str(res)}") res, success = api_client.get_answer(task_id) |