class

Enkaidu::Slash::ThinkCommand

Inherits Enkaidu::Slash::Command < Reference < Object

Constants

HELP = "#{HELP_BRIEF}\n- Without parameters, `/think` shows the currently configured (or default) thinking effort\n- With an effort parameter\n - `none` disables thinking / reasoning if the model supports it\n - `default` resets to use the model's default thinking level\n - #{(THINK_LEVELS.map do |eff| "`#{eff}`" end).join(", ")} enable thinking / reasoning as supported by model"
HELP_BRIEF = "`#{NAME} [#{THINK_EFFORT.join(" or ")}]` - Request thinking effort, or show current effort"
NAME = "/think"
THINK_EFFORT = LLM::Reasoning.names.map(&.downcase)
THINK_LEVELS = (LLM::Reasoning.values.reject do |eff| eff.default? || eff.none? end).map() do |__arg1| __arg1.to_s.downcase end

Instance methods

brief

One line help, in Markdown

Source
handle(session_manager : SessionManager, cmd : CommandParser)
Source
help

Detailed help, in Markdown

Source
name
Source