module

Autobot::CLI::InteractiveSetup

Interactive configuration setup for new bot instances

Constants

CHANNELS = {Constants::CHANNEL_TELEGRAM => "Telegram", Constants::CHANNEL_SLACK => "Slack", Constants::CHANNEL_WHATSAPP => "WhatsApp", Constants::CHANNEL_ZULIP => "Zulip"}

Supported chat channels

PROVIDERS = {"anthropic" => "Anthropic (Claude)", "openai" => "OpenAI (GPT)", "deepseek" => "DeepSeek", "groq" => "Groq", "gemini" => "Google Gemini", "kimi" => "Kimi Code", "openrouter" => "OpenRouter", "bedrock" => "AWS Bedrock"}

Supported LLM providers

Class methods

prompt_channel_config(channel : String, config : Configuration, input : IO, output : IO)

Prompts for channel-specific configuration

Source
prompt_channels(input : IO, output : IO) : Array(String)

Prompts user to select chat channels

Source
prompt_provider(input : IO, output : IO) : String

Prompts user to select an LLM provider

Source
run(input : IO = STDIN, output : IO = STDOUT) : Configuration

Runs interactive setup and returns configuration

Source

Nested types