jgravelle / AutoGroq

AutoGroq is a groundbreaking tool that revolutionizes the way users interact with Autogen™ and other AI assistants. By dynamically generating tailored teams of AI agents based on your project requirements, AutoGroq eliminates the need for manual configuration and allows you to tackle any question, problem, or project with ease and efficiency.

Home Page:https://autogroq.streamlit.app/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Dynamic path to database

ericwhiteau opened this issue · comments

Hi J,

I downloaded Autogroq to test it out.

I had an issue with it not connecting to the Autogenstudio database.

I see you had it hard coded in config.py.

here is the update to make that dynamic.


#get user home directory
import os
home_dir = os.path.expanduser("~")

Database path

AUTOGEN_DB_PATH = f'{home_dir}/.autogenstudio/database.sqlite'

Done! Thanks again...