-
Notifications
You must be signed in to change notification settings - Fork 43.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor(forge): Clean
forge
(#7117)
Remove unused `forge` code and improve structure of `forge`. * Put all Agent Protocol stuff together in `forge.agent_protocol` * ... including `forge.agent_protocol.database` (was `forge.db`) * Remove duplicate/unused parts from `forge` * `forge.actions`, containing old commands; replaced by `forge.components` from `autogpt` * `forge/agent.py` (the old one, `ForgeAgent`) * `forge/app.py`, which was used to serve and run the `ForgeAgent` * `forge/db.py` (`ForgeDatabase`), which was used for `ForgeAgent` * `forge/llm.py`, which has been replaced by new `forge.llm` module which was ported from `autogpt.core.resource.model_providers` * `forge.memory`, which is not in use and not being maintained * `forge.sdk`, much of which was moved into other modules and the rest is deprecated * `AccessDeniedError`: unused * `forge_log.py`: replaced with `logging` * `validate_yaml_file`: not needed * `ai_settings_file` and associated loading logic and env var `AI_SETTINGS_FILE`: unused * `prompt_settings_file` and associated loading logic and env var `PROMPT_SETTINGS_FILE`: default directives are now provided by the `SystemComponent` * `request_user_double_check`, which was only used in `AIDirectives.load` * `TypingConsoleHandler`: not used
- Loading branch information
Showing
76 changed files
with
305 additions
and
2,776 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,7 +4,6 @@ | |
*.template | ||
*.yaml | ||
*.yml | ||
!prompt_settings.yaml | ||
|
||
data/* | ||
logs/* | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.