You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add tool factory support to Telegram bot for dangerous tools
- Add ToolFactory type to telegram module (same pattern as HeartbeatRunner)
- Modify run_telegram_bot() to accept optional ToolFactory parameter
- Store tool_factory in BotState
- Extend agent with CLI tools when factory is provided in handle_chat()
- Update daemon to inject create_cli_tools factory when starting Telegram bot
- This allows Telegram agent to use bash, read_file, write_file, edit_file tools
Co-authored-by: yiwang <142937+yiwang@users.noreply.github.com>
0 commit comments