Skip to content

Commit

Permalink
Skill/tool fix
Browse files Browse the repository at this point in the history
  • Loading branch information
jgravelle authored Jun 19, 2024
1 parent b30749d commit bd0e4b3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions AutoGroq/utils/db_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down Expand Up @@ -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
# return None

0 comments on commit bd0e4b3

Please sign in to comment.