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(agent): Fix line length in docstring of `EpisodicActionHistory.handle_compression`
Reinier van der Leer925269d17b93
diff --git a/autogpts/autogpt/autogpt/models/action_history.py b/autogpts/autogpt/autogpt/models/action_history.pyindex 63cdb2ce55..2358e2236f 100644--- a/autogpts/autogpt/autogpt/models/action_history.py+++ b/autogpts/autogpt/autogpt/models/action_history.py@@ -179,10 +179,10 @@ class EpisodicActionHistory(BaseModel):async def handle_compression(self, llm_provider: ChatModelProvider, app_config: Config) -> None:- """Compresses each episode in the action history using a ChatModelProvider.+ """Compresses each episode in the action history using an LLM.- This method iterates over all episodes in the action history, uses a ChatModelProvider- to generate a summary for each episode, and then sets the `summary` property of the episode.+ This method iterates over all episodes in the action history without a summary,+ and generates a summary for them using an LLM."""compress_instruction = ("The text represents an action, the reason for its execution, "