AutoGPT is the vision of accessible AI for everyone, to use and to build on. Our mission is to provide the tools, so that you can focus on what matters.
lint
Reinier van der Leer0ceaa5b75395
diff --git a/autogpts/autogpt/autogpt/agent_factory/configurators.py b/autogpts/autogpt/autogpt/agent_factory/configurators.pyindex 5c092dc6b6..3af4177481 100644--- a/autogpts/autogpt/autogpt/agent_factory/configurators.py+++ b/autogpts/autogpt/autogpt/agent_factory/configurators.py@@ -3,7 +3,7 @@ from typing import Optionalfrom autogpt.agent_manager import AgentManagerfrom autogpt.agents.agent import Agent, AgentConfiguration, AgentSettingsfrom autogpt.commands import COMMAND_CATEGORIES-from autogpt.config import AIProfile, AIDirectives, Config+from autogpt.config import AIDirectives, AIProfile, Configfrom autogpt.core.resource.model_providers import ChatModelProviderfrom autogpt.logs.config import configure_chat_pluginsfrom autogpt.logs.helpers import print_attributediff --git a/autogpts/autogpt/autogpt/agent_factory/profile_generator.py b/autogpts/autogpt/autogpt/agent_factory/profile_generator.pyindex 2f6d918f6e..4809c7c911 100644--- a/autogpts/autogpt/autogpt/agent_factory/profile_generator.py+++ b/autogpts/autogpt/autogpt/agent_factory/profile_generator.py@@ -1,6 +1,6 @@import logging-from autogpt.config import AIProfile, AIDirectives, Config+from autogpt.config import AIDirectives, AIProfile, Configfrom autogpt.core.configuration import SystemConfiguration, UserConfigurablefrom autogpt.core.prompting import (ChatPrompt,@@ -119,7 +119,9 @@ class AgentProfileGeneratorConfiguration(SystemConfiguration):class AgentProfileGenerator(PromptStrategy):- default_configuration: AgentProfileGeneratorConfiguration = AgentProfileGeneratorConfiguration()+ default_configuration: AgentProfileGeneratorConfiguration = (+ AgentProfileGeneratorConfiguration()+ )def __init__(self,diff --git a/autogpts/autogpt/autogpt/agents/base.py b/autogpts/autogpt/autogpt/agents/base.pyindex 20f400a68c..1061ee99c2 100644--- a/autogpts/autogpt/autogpt/agents/base.py+++ b/autogpts/autogpt/autogpt/agents/base.py@@ -22,8 +22,8 @@ if TYPE_CHECKING:from autogpt.agents.utils.prompt_scratchpad import PromptScratchpadfrom autogpt.config import ConfigBuilder-from autogpt.config.ai_profile import AIProfilefrom autogpt.config.ai_directives import AIDirectives+from autogpt.config.ai_profile import AIProfilefrom autogpt.core.configuration import (Configurable,SystemConfiguration,diff --git a/autogpts/autogpt/autogpt/agents/prompt_strategies/one_shot.py b/autogpts/autogpt/autogpt/agents/prompt_strategies/one_shot.pyindex a10fbbd34f..25381c0f85 100644--- a/autogpts/autogpt/autogpt/agents/prompt_strategies/one_shot.py+++ b/autogpts/autogpt/autogpt/agents/prompt_strategies/one_shot.py@@ -14,7 +14,7 @@ if TYPE_CHECKING:from autogpt.models.action_history import Episodefrom autogpt.agents.utils.exceptions import InvalidAgentResponseError-from autogpt.config import AIProfile, AIDirectives+from autogpt.config import AIDirectives, AIProfilefrom autogpt.core.configuration.schema import SystemConfiguration, UserConfigurablefrom autogpt.core.prompting import (ChatPrompt,diff --git a/autogpts/autogpt/autogpt/app/main.py b/autogpts/autogpt/autogpt/app/main.pyindex 8e92148c9d..ee3db47436 100644--- a/autogpts/autogpt/autogpt/app/main.py+++ b/autogpts/autogpt/autogpt/app/main.py@@ -15,10 +15,7 @@ from pydantic import SecretStrif TYPE_CHECKING:from autogpt.agents.agent import Agent-from autogpt.agent_factory.configurators import (- configure_agent_with_state,- create_agent,-)+from autogpt.agent_factory.configurators import configure_agent_with_state, create_agentfrom autogpt.agent_factory.profile_generator import generate_agent_profile_for_taskfrom autogpt.agent_manager import AgentManagerfrom autogpt.agents import AgentThoughts, CommandArgs, CommandNamediff --git a/autogpts/autogpt/autogpt/app/setup.py b/autogpts/autogpt/autogpt/app/setup.pyindex cbe2c38c31..6410fc9b35 100644--- a/autogpts/autogpt/autogpt/app/setup.py+++ b/autogpts/autogpt/autogpt/app/setup.py@@ -3,7 +3,7 @@ import loggingfrom typing import Optionalfrom autogpt.app.utils import clean_input-from autogpt.config import AIProfile, AIDirectives, Config+from autogpt.config import AIDirectives, AIProfile, Configfrom autogpt.logs.helpers import print_attributelogger = logging.getLogger(__name__)diff --git a/autogpts/autogpt/autogpt/config/__init__.py b/autogpts/autogpt/autogpt/config/__init__.pyindex 326b639d59..e0c1133910 100644--- a/autogpts/autogpt/autogpt/config/__init__.py+++ b/autogpts/autogpt/autogpt/config/__init__.py@@ -1,8 +1,8 @@"""This module contains the configuration classes for AutoGPT."""-from .ai_profile import AIProfilefrom .ai_directives import AIDirectives+from .ai_profile import AIProfilefrom .config import Config, ConfigBuilder, assert_config_has_openai_api_key__all__ = [