Spaces:
Runtime error
Runtime error
Commit
·
67c7151
1
Parent(s):
5bfc11b
chore: fix typo
Browse files
src/agent/tools/text_summary.py
CHANGED
@@ -57,8 +57,8 @@ class ConversationSummary():
|
|
57 |
|
58 |
async def process_conversation_summary(self, update: Update, context: CallbackContext) -> int:
|
59 |
message = update.message.text
|
60 |
-
await self.summarize(message, 50)
|
61 |
-
await update.message.reply_text(f'{
|
62 |
return ConversationHandler.END
|
63 |
|
64 |
async def conversation_summary(self, update: Update, context: CallbackContext) -> str:
|
|
|
57 |
|
58 |
async def process_conversation_summary(self, update: Update, context: CallbackContext) -> int:
|
59 |
message = update.message.text
|
60 |
+
text = await self.summarize(message, 50)
|
61 |
+
await update.message.reply_text(f'{text}')
|
62 |
return ConversationHandler.END
|
63 |
|
64 |
async def conversation_summary(self, update: Update, context: CallbackContext) -> str:
|