-
Notifications
You must be signed in to change notification settings - Fork 43.1k
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
refactor(agent): Remove unused autogpt
code
#7112
refactor(agent): Remove unused autogpt
code
#7112
Conversation
✅ Deploy Preview for auto-gpt-docs canceled.
|
This pull request has conflicts with the base branch, please resolve those so we can evaluate the pull request. |
autogpt
codeautogpt
code
autogpt
codeautogpt
code
Conflicts have been resolved! 🎉 A maintainer will review the pull request shortly. |
PR-Agent was enabled for this repository. To continue using it, please link your git user with your CodiumAI identity here. PR Review 🔍
|
PR-Agent was enabled for this repository. To continue using it, please link your git user with your CodiumAI identity here. PR Code Suggestions ✨
|
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #7112 +/- ##
===========================================
+ Coverage 22.63% 36.05% +13.42%
===========================================
Files 66 19 -47
Lines 2669 1273 -1396
Branches 299 182 -117
===========================================
- Hits 604 459 -145
+ Misses 2035 786 -1249
+ Partials 30 28 -2
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
351408a
to
7832e32
Compare
This pull request has conflicts with the base branch, please resolve those so we can evaluate the pull request. |
Conflicts have been resolved! 🎉 A maintainer will review the pull request shortly. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good overall!
User description
Background
Should be merged after:
autogpt
toforge
#7106Moveautogpt
andforge
to repo root #7151forge
#7117Follow-up after Component-based Agents
Changes 🏗️
Remove unused
autogpt
code and reorganize its file structure.autogpt/agent_manager/agent_manager.py
toautogpt/agents/agent_manager.py
, so the diragent_manager
was removeddump_prompt
fromautogpt.core.runner.client_lib.logging.helpers
toforge/llm/prompting/utils.py
coroutine
decorator fromautogpt.core.runner.client_lib.utils
toautogpt/app/utils.py
autogpt
:memory/*
memory_backend
,memory_index
,redis_host
,redis_port
,redis_password
,wipe_redis_on_start
core
files, from failed re-arch:*.md
docscore/ability/*
core/agent/*
core/memory/*
core/planning/*
core/plugin/*
core/workspace/*
core/runner/*
(dump_prompt
andcoroutine
were moved)PR Quality Scorecard ✨
+2 pts
+5 pts
+5 pts
+5 pts
-4 pts
+4 pts
+5 pts
-5 pts
agbenchmark
to verify that these changes do not regress performance?+10 pts
PR Type
enhancement, bug fix, miscellaneous
Description
logging
module across multiple files.Changes walkthrough 📝
34 files
db.py
Standardize logging and update model imports.
autogpts/forge/forge/agent_protocol/database/db.py
logging
module.Status
toStepStatus
.api_router.py
Standardize logging and update model imports.
autogpts/forge/forge/agent_protocol/api_router.py
logging
module.main.py
Clean up imports and remove unused parameters.
autogpts/autogpt/autogpt/app/main.py
AgentManager
.ai_settings
andprompt_settings
.configurator.py
Clean up unused imports and functions.
autogpts/autogpt/autogpt/app/configurator.py
task.py
Simplify task models and update status enum.
autogpts/forge/forge/agent_protocol/models/task.py
Status
toStepStatus
.text.py
Add future annotations and update type hints.
autogpts/forge/forge/content_processing/text.py
from __future__ import annotations
.Config
.db_test.py
Update imports and status enum in tests.
autogpts/forge/forge/agent_protocol/database/db_test.py
Status
toStepStatus
.agent_protocol_server.py
Update import paths for agent protocol server.
autogpts/autogpt/autogpt/app/agent_protocol_server.py
AgentManager
and other modules.config.py
Add custom formatter for colored logging output.
autogpts/forge/forge/logging/config.py
FancyConsoleFormatter
for colored logging output.agent.py
Standardize logging and update model imports.
autogpts/forge/forge/agent/agent.py
logging
module.system.py
Add new constraints, resources, and best practices methods.
autogpts/forge/forge/components/system/system.py
agent_manager.py
Add new AgentManager class.
autogpts/autogpt/autogpt/agents/agent_manager.py
AgentManager
class for managing agent states.base.py
Move default triggering prompt inside the file.
autogpts/forge/forge/agent/base.py
DEFAULT_TRIGGERING_PROMPT
inside the file.artifact.py
Add new artifact models.
autogpts/forge/forge/agent_protocol/models/artifact.py
ai_directives.py
Remove file-based loading of AI directives.
autogpts/forge/forge/config/ai_directives.py
utils.py
Add coroutine decorator and update print_motd.
autogpts/autogpt/autogpt/app/utils.py
coroutine
decorator.config
parameter fromprint_motd
.agent.py
Add dump_prompt function.
autogpts/autogpt/autogpt/agents/agent.py
dump_prompt
function.generators.py
Remove file-based loading of AI directives.
autogpts/autogpt/autogpt/agent_factory/generators.py
benchmarks.py
Update import paths for AgentManager.
autogpts/autogpt/agbenchmark_config/benchmarks.py
AgentManager
.selenium.py
Add TooMuchOutputError class.
autogpts/forge/forge/components/web/selenium.py
TooMuchOutputError
class.__main__.py
Standardize logging.
autogpts/forge/forge/main.py
logging
module.agent_test.py
Update imports and workspace in tests.
autogpts/forge/forge/agent/agent_test.py
LocalFileStorage
.configurators.py
Remove file-based loading of AI directives.
autogpts/autogpt/autogpt/agent_factory/configurators.py
action_history.py
Add future annotations.
autogpts/forge/forge/components/action_history/action_history.py
from __future__ import annotations
.code_executor.py
Add CodeExecutionError class.
autogpts/forge/forge/components/code_executor/code_executor.py
CodeExecutionError
class.pagination.py
Add new pagination model.
autogpts/forge/forge/agent_protocol/models/pagination.py
middlewares.py
Update type hint for app parameter.
autogpts/forge/forge/agent_protocol/middlewares.py
app
parameter.__init__.py
Add new models for artifact, pagination, and task.
autogpts/forge/forge/agent_protocol/models/init.py
git_log_to_release_notes.py
Update import path for coroutine.
autogpts/autogpt/scripts/git_log_to_release_notes.py
coroutine
.__init__.py
Add AgentManager to __all__.
autogpts/autogpt/autogpt/agents/init.py
AgentManager
to__all__
.parameter.py
Change CommandParameter to inherit from BaseModel.
autogpts/forge/forge/command/parameter.py
CommandParameter
to inherit fromBaseModel
.__init__.py
Add CodeExecutionError to imports.
autogpts/forge/forge/components/code_executor/init.py
CodeExecutionError
to imports.__init__.py
Add TooMuchOutputError to imports.
autogpts/forge/forge/components/web/init.py
TooMuchOutputError
to imports.__init__.py
Add AgentDB to imports.
autogpts/forge/forge/agent_protocol/database/init.py
AgentDB
to imports.1 files
building_challenges.md
Update example code in documentation.
docs/content/challenges/building_challenges.md
memory_json_file
.