Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v1.6.0 #1195

Merged
merged 14 commits into from
May 29, 2024
Merged

v1.6.0 #1195

merged 14 commits into from
May 29, 2024

Conversation

Josh-XT
Copy link
Owner

@Josh-XT Josh-XT commented May 29, 2024

v1.6.0

Major changes are coming with this update to how the back end works.

  • Implemented MagicalAuth to add an easy magic link login with multi-factor authentication if the environment variable AUTH_PROVIDER is set to magicalauth. This will allow you to have a multi-user AGiXT instance.
  • File based mode has been removed and is now only used for database imports upon initial launch of AGiXT. It was getting to be too much to try to support the file mode and its limitations, which is why I built the database mode. (These were the files in the fb folder)
  • Database mode uses Postgres or SQLite which can be defined in your .env file using the environment variables DATABASE_TYPE, DATABASE_NAME, DATABASE_USER, DATABASE_PASSWORD, DATABASE_HOST, and DATABASE_PORT. These all have defaults set and the docker-compose will launch a postgres database with the back end to use if nothing is filled in. I would at minimum recommend setting the DATABASE_PASSWORD in your .env file.
  • User schema in the database was changed. If you were previously using the database mode, you may need to modify the database schema manually or wipe your data folder to start a fresh database.
  • No errors from tests, must be fine ¯\_(ツ)_/¯
  • Merging to main to be tested before official v1.6.0 release.

agixt/MagicalAuth.py Fixed Show fixed Hide fixed
agixt/MagicalAuth.py Fixed Show fixed Hide fixed
agixt/MagicalAuth.py Fixed Show fixed Hide fixed
agixt/MagicalAuth.py Fixed Show fixed Hide fixed
@Josh-XT Josh-XT marked this pull request as ready for review May 29, 2024 16:33
@Josh-XT Josh-XT merged commit e28e548 into main May 29, 2024
7 checks passed
@Josh-XT Josh-XT deleted the magicalauth branch May 29, 2024 17:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant