Skip to content

Commit

Permalink
fix telegram
Browse files Browse the repository at this point in the history
  • Loading branch information
son nguyen committed Mar 17, 2024
1 parent ce0d846 commit 208ff70
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions sonagent/rpc/telegram.py
Original file line number Diff line number Diff line change
Expand Up @@ -379,6 +379,8 @@ async def _show_skills(self, update: Update, context: CallbackContext) -> None:
:return: None
"""
result = await self._rpc.show_skills()
if result is None or len(result) == 0:
result = "Agent doesn't have any available skills."
await update.message.reply_text(result)

async def _reload_skills(self, update: Update, context: CallbackContext) -> None:
Expand Down
2 changes: 1 addition & 1 deletion sonagent/version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = '1.0.7'
__version__ = '1.0.9'

0 comments on commit 208ff70

Please sign in to comment.