aboutsummaryrefslogtreecommitdiff
path: root/autogpts/autogpt/autogpt/processing/text.py
diff options
context:
space:
mode:
Diffstat (limited to 'autogpts/autogpt/autogpt/processing/text.py')
-rw-r--r--autogpts/autogpt/autogpt/processing/text.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/autogpts/autogpt/autogpt/processing/text.py b/autogpts/autogpt/autogpt/processing/text.py
index c0e71c988..5fed8e6b7 100644
--- a/autogpts/autogpt/autogpt/processing/text.py
+++ b/autogpts/autogpt/autogpt/processing/text.py
@@ -119,7 +119,7 @@ async def summarize_text(
temperature=0,
max_tokens=500,
)
- ).response["content"]
+ ).response.content
logger.debug(f"\n{'-'*16} SUMMARY {'-'*17}\n{summary}\n{'-'*42}\n")
return summary.strip(), None