v1.6.0
版本发布时间: 2024-06-26 02:26:32
Josh-XT/AGiXT最新发布版本:v1.6.8(2024-08-05 20:47:03)
AGiXT v1.6.0 Release: New Features, Bug Fixes, and Improvements
We are excited to announce the release of AGiXT v1.6.0! This update brings a host of new features, improvements, and bug fixes designed to enhance the user experience and increase the functionality of AGiXT. Below, we detail the significant changes and improvements included in this release.
We will have another announcement about v1.6.0 changes soon after release.
New Features
-
DPO Endpoint:
-
PR #1198: A new DPO (Direct Preference Optimization) endpoint
/api/agent/{agent_name}/dpo
has been added. This endpoint accepts a JSON body withuser_input
for the question andinjected_memories
for a count of how many memories you want to be injected. The default is 10 injected memories. The response includes the prompt, chosen correct answer, and a rejected intentionally incorrect answer. More details on DPO can be found here.
-
PR #1198: A new DPO (Direct Preference Optimization) endpoint
-
Parallel Chain Steps:
- PR #1201: Steps in a chain that do not have dependencies on previous steps or context injections can now be run in parallel, significantly speeding up chain execution.
-
Task Planning Functions:
- PR #1208: New task planning functions have been added, along with Single Sign-On (SSO) and conversational memory improvements. This update enables better planning and execution of tasks within AGiXT.
-
GitHub Repo Download to Memory:
- PR #1211: Users can now download GitHub repositories directly into memory for use in chat completions, enhancing the agent's ability to reference and utilize code from repositories.
-
PowerPoint Upload Support and Vision Persistence:
- PR #1210: Added support for uploading PowerPoint files and converting them to PDFs. Additionally, the agent can now recall images and maintain vision persistence throughout conversations.
-
User Preferences and Timezones:
- PR #1213 & #1214: The system now supports user preferences, including time zone settings, allowing for a more personalized user experience.
-
Single Sign-On (SSO) and Multi-Factor Authentication (MFA):
-
PR #1195: Implemented MagicalAuth for easy magic link login with multi-factor authentication if the environment variable
AUTH_PROVIDER
is set tomagicalauth
. This feature allows for a multi-user AGiXT instance, enhancing security and usability.
-
PR #1195: Implemented MagicalAuth for easy magic link login with multi-factor authentication if the environment variable
Improvements
-
Chain Improvements for Tracking Step Responses:
-
PR #1196: Improved the tracking of step responses in chains by adding a table for
ChainRun
to track each run separately, rather than overwriting responses from previous runs.
-
PR #1196: Improved the tracking of step responses in chains by adding a table for
-
Activity Logging Enhancements:
-
PR #1199 & #1200: Activity logging has been improved to handle conversation history injection better. The logging now uses
ACTIVITY
instead ofACTIVITY_START
andACTIVITY_END
.
-
PR #1199 & #1200: Activity logging has been improved to handle conversation history injection better. The logging now uses
-
Websearch Enhancements:
-
PR #1202 & #1203: Websearch functionality has been reworked to rotate endpoints on failure and moved Google search to
Websearch.py
. This update improves the robustness and reliability of web searches.
-
PR #1202 & #1203: Websearch functionality has been reworked to rotate endpoints on failure and moved Google search to
-
File Upload Improvements:
- PR #1210: Improved the handling of file uploads, ensuring smoother and more reliable operation when dealing with various file types.
-
Database Session Management:
- PR #1216: Improved the management of database sessions by ensuring that sessions are properly closed after use, enhancing the system's stability and performance.
Bug Fixes
-
Chain Response Overwrite Fix:
- PR #1192: Resolved an issue where chain responses were being overwritten if the same chain was nested.
-
Typo Fix in Test:
- PR #1193: Corrected a typo in a test file to ensure accurate testing and documentation.
-
User Email Reference Fix:
- PR #1194: Fixed issues related to user email references to prevent errors during operations involving user data.
-
Error Handling in Websearch:
- PR #1198: Enhanced error handling for web searches to provide better feedback and more reliable operations.
Breaking Changes
-
Removal of JSON File-Based Backend:
-
PR #1195: The JSON file structure-based backend has been removed and is now only used for database imports upon the initial launch of AGiXT. The switch to database mode using Postgres or SQLite can be defined in your
.env
file using the environment variablesDATABASE_TYPE
,DATABASE_NAME
,DATABASE_USER
,DATABASE_PASSWORD
,DATABASE_HOST
, andDATABASE_PORT
. This change enhances system scalability and maintainability.
-
PR #1195: The JSON file structure-based backend has been removed and is now only used for database imports upon the initial launch of AGiXT. The switch to database mode using Postgres or SQLite can be defined in your
-
Removal of AUTONOMOUS_EXECUTION:
-
PR #1194: The concept of
AUTONOMOUS_EXECUTION
has been removed from the codebase. AGiXT is built to be an autonomous agent system, and supporting non-autonomous execution was not feasible with future plans. If an agent shouldn't execute a command, it shouldn't have access to it. As always, choose what your agents have access to carefully.
-
PR #1194: The concept of
-
Authentication:
- PR #1195: You will have to create an account once on first login, then you will be able to log in with your account and disable registration with the command line tool if desired.
-
New Command Line Tool:
- The readme in the repository has been updated to reflect how to now start and update AGiXT. The PowerShell and bash scripts have been removed. We're doing it all in Python again with a new
start.py
script.
- The readme in the repository has been updated to reflect how to now start and update AGiXT. The PowerShell and bash scripts have been removed. We're doing it all in Python again with a new
What's Changed
- Fix chain responses by @Josh-XT in https://github.com/Josh-XT/AGiXT/pull/1192
- Fix typo in test by @eltociear in https://github.com/Josh-XT/AGiXT/pull/1193
- Improvements to webseach to memory and activity logging by @Josh-XT in https://github.com/Josh-XT/AGiXT/pull/1194
- v1.6.0 by @Josh-XT in https://github.com/Josh-XT/AGiXT/pull/1195
- Chain improvements for tracking step responses by @Josh-XT in https://github.com/Josh-XT/AGiXT/pull/1196
- Move dataset creation functions by @Josh-XT in https://github.com/Josh-XT/AGiXT/pull/1197
- Add DPO endpoint by @Josh-XT in https://github.com/Josh-XT/AGiXT/pull/1198
- Handle activity log in conversation history injection by @Josh-XT in https://github.com/Josh-XT/AGiXT/pull/1199
- Use
ACTIVITY
instead ofACTIVITY_START
andACTIVITY_END
by @Josh-XT in https://github.com/Josh-XT/AGiXT/pull/1200 - Parallel chain steps by @Josh-XT in https://github.com/Josh-XT/AGiXT/pull/1201
- Rework websearch to rotate endpoints on failure by @Josh-XT in https://github.com/Josh-XT/AGiXT/pull/1202
- Move google search to Websearch.py by @Josh-XT in https://github.com/Josh-XT/AGiXT/pull/1203
- Use URL for image uploads by @Josh-XT in https://github.com/Josh-XT/AGiXT/pull/1206
- Code reduction on chat completions function by @Josh-XT in https://github.com/Josh-XT/AGiXT/pull/1207
- Add Task Planning functions, Conversational Memories, and Single Sign-On by @Josh-XT in https://github.com/Josh-XT/AGiXT/pull/1208
- Improve File Uploads, Vision Always On by @Josh-XT in https://github.com/Josh-XT/AGiXT/pull/1210
- Add GitHub Repo Download to Memory to Chat Completions by @Josh-XT in https://github.com/Josh-XT/AGiXT/pull/1211
- Add user preferences and timezones by @Josh-XT in https://github.com/Josh-XT/AGiXT/pull/1213
- Add user preferences by @Josh-XT in https://github.com/Josh-XT/AGiXT/pull/1214
- Add requirements by @Josh-XT in https://github.com/Josh-XT/AGiXT/pull/1215
- Closing database sessions by @Josh-XT in https://github.com/Josh-XT/AGiXT/pull/1216
- Parallel Web Search by @Josh-XT in https://github.com/Josh-XT/AGiXT/pull/1217
- Rework g4f, update Nodejs by @Josh-XT in https://github.com/Josh-XT/AGiXT/pull/1218
Full Changelog: https://github.com/Josh-XT/AGiXT/compare/v1.5.18...v1.6.0