aboutsummaryrefslogtreecommitdiff
path: root/gn3/api
diff options
context:
space:
mode:
authorAlexander_Kabui2024-05-01 02:33:39 +0300
committerAlexander_Kabui2024-05-01 02:33:39 +0300
commitd5c93b634ed0eedc626928254dcbd57ad859a423 (patch)
tree995a5c1e1f58826acb778818b8c9fa955dfb63ca /gn3/api
parent4e265a10e8ff528d195954dd44d51f511e881ccd (diff)
downloadgenenetwork3-d5c93b634ed0eedc626928254dcbd57ad859a423.tar.gz
Debug Process for LLM_DB_PATH
* this commit is a debugging process for llm_path on cd * issue: writes to db but not correct path
Diffstat (limited to 'gn3/api')
-rw-r--r--gn3/api/llm.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/gn3/api/llm.py b/gn3/api/llm.py
index b1eead9..5a694a3 100644
--- a/gn3/api/llm.py
+++ b/gn3/api/llm.py
@@ -86,7 +86,8 @@ def rating(task_id):
""", (str(user_id), query, answer, weight, task_id))
return {
"message": "success",
- "status": 0
+ "status": 0,
+ "llm_db_path": LLM_DB_PATH
}, 200
except sqlite3.Error as error:
return jsonify({"error": str(error), "user": token.user.user_id,