about summary refs log tree commit diff
diff options
context:
space:
mode:
authorMunyoki Kilyungi2025-03-21 14:53:29 +0300
committerMunyoki Kilyungi2025-03-21 14:53:29 +0300
commitb13447ff27581b2018e374e1d672dd680f06f177 (patch)
treed1e124f82f42d8b5b92c8ac939fa16e56a7b66f1
parent858df45c81bf80b1e7ab8bee9c835f7a99b7b76d (diff)
downloadgenenetwork3-b13447ff27581b2018e374e1d672dd680f06f177.tar.gz
Use HTTPS for LLM endpoint.
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
-rw-r--r--gn3/llms/client.py2
-rw-r--r--gn3/llms/process.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/gn3/llms/client.py b/gn3/llms/client.py
index a91edb5..cac83be 100644
--- a/gn3/llms/client.py
+++ b/gn3/llms/client.py
@@ -50,7 +50,7 @@ class GeneNetworkQAClient(Session):
         super().__init__()
         self.headers.update(
             {"Authorization": "Bearer " + api_key})
-        self.base_url = "http://balg-qa.genenetwork.org/api/tasks"
+        self.base_url = "https://balg-qa.genenetwork.org/api/tasks"
         self.answer_url = f"{self.base_url}/answers"
         self.feedback_url = f"{self.base_url}/feedback"
         self.query = ""
diff --git a/gn3/llms/process.py b/gn3/llms/process.py
index da95bb8..c007057 100644
--- a/gn3/llms/process.py
+++ b/gn3/llms/process.py
@@ -10,7 +10,7 @@ from urllib.parse import quote
 from gn3.llms.client import GeneNetworkQAClient
 
 
-BASE_URL = 'http://balg-qa.genenetwork.org/api/tasks'
+BASE_URL = 'https://balg-qa.genenetwork.org/api/tasks'
 BASEDIR = os.path.abspath(os.path.dirname(__file__))