mirror of
https://github.com/aljazceru/Auto-GPT.git
synced 2026-02-23 15:14:44 +01:00
lint(agent): Fix line length in docstring of EpisodicActionHistory.handle_compression
This commit is contained in:
@@ -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, "
|
||||
|
||||
Reference in New Issue
Block a user