aboutsummaryrefslogtreecommitdiff
path: root/gn3
diff options
context:
space:
mode:
Diffstat (limited to 'gn3')
-rw-r--r--gn3/llms/client.py10
1 files changed, 0 insertions, 10 deletions
diff --git a/gn3/llms/client.py b/gn3/llms/client.py
index 401355a..9bcb2e3 100644
--- a/gn3/llms/client.py
+++ b/gn3/llms/client.py
@@ -69,16 +69,6 @@ class GeneNetworkQAClient(Session):
self.mount("https://", adapter)
self.mount("http://", adapter)
- def get_answer_using_task_id(self, extend_url, my_auth):
- """call this method with task id to fetch response"""
- try:
- response = requests.get(
- self.answer_url + extend_url, data={}, headers=my_auth)
- response.raise_for_status()
- return response
- except requests.exceptions.RequestException as error:
- raise error
-
@staticmethod
def negative_status_msg(response):
""" handler for non 200 response from fahamu api"""