Declaratively define multiple modes for a RubyLLM chat and automatically route each user message to the appropriate mode. Each mode has its own instructions, tools, model, and reasoning effort, while all modes share the conversation history. Configure mode availability and fallbacks, and inspect or test routing decisions independently of the response.

Required Ruby Version

>= 3.2.0

Authors

Andrey Samsonov

Versions

  1. 0.1.1
    1. source

      1. 0.1.1 source October 14, 2026 (25 KB)
  2. 0.1.0
    1. source

      1. 0.1.0 source September 26, 2026 (25 KB)

Pushed by

SHA 256 checksum