From bd0e4b3e78065ee1471dd872bc0470b0df7d9893 Mon Sep 17 00:00:00 2001 From: "J. Gravelle" Date: Wed, 19 Jun 2024 18:28:51 -0500 Subject: [PATCH] Skill/tool fix --- AutoGroq/utils/db_utils.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/AutoGroq/utils/db_utils.py b/AutoGroq/utils/db_utils.py index b0c9d1f1..5ff4b357 100644 --- a/AutoGroq/utils/db_utils.py +++ b/AutoGroq/utils/db_utils.py @@ -65,7 +65,7 @@ def export_data(db_path): print(f"Inserted agent: {formatted_agent_name}") project_root = os.path.dirname(os.path.dirname(os.path.abspath(__file__))) - skill_folder = os.path.join(project_root, "skills") + skill_folder = os.path.join(project_root, "tools") for tool_name in st.session_state.selected_tools: if tool_name not in inserted_skills: skill_file_path = os.path.join(skill_folder, f"{tool_name}.py") @@ -191,4 +191,4 @@ def sql_to_db(sql: str, params: tuple = None): # if row: # columns = [column[0] for column in cursor.description] # return dict(zip(columns, row)) -# return None \ No newline at end of file +# return None