Repository navigation
Add a telegram_bot.py for remote llm invokation through telegram. #1324
beacoder
started this conversation in
Show and tell
Replies: 1 comment 1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Add openclaw style remote control through telegram.
This telegram_bot.py serve as a Bridge between telegram bot and your local gptel-agent.
with these setups, I successfully
telegram_bot.py
for doc and agent definition:
https://github.com/beacoder/dot-emacs/blob/master/.emacs.d/extensions/telegram/README.md
https://github.com/beacoder/dot-emacs/blob/master/.emacs.d/agents/gptel-telegram.md
for gptel-telegram definition:
https://github.com/beacoder/dot-emacs/blob/698ead88fd15084b2caf80b5a813151a51de1ab5/.emacs.d/elisp/init-agent.el#L170
skills and contexts for this:
https://github.com/beacoder/dot-emacs/blob/master/.emacs.d/contexts
https://github.com/beacoder/dot-emacs/tree/master/.emacs.d/skills
I have tested with following emacs configuration:
;; with gptel and gptel-agent enabled
;;; register your own telegram bot on telegram
then start a emacs in your own laptop
run telegram_bot.py in your own laptop
then you could command your favorite gptel-agent through telegram bot now.
All reactions