Skip to content

BruteCLI

BruteCLI::Providers::Shell::ModelList

module BruteCLI::Providers::Shell
class ModelList
end
end

Minimal object that quacks like provider.models so the REPL’s fetch_models can call provider.models.all.select(&:chat?).

Constants

ModelEntry

ModelEntry = Struct.new(:id, :chat?, keyword_init: true)

Not documented.

Class Methods

self.new

new(names)

Not documented.

Instance Methods

#all

all()

Not documented.

Defined in

  • lib/brute_cli/providers/shell.rb