Module: Brute::Turn::Pipeline::Chainable

Included in:
Brute::Turn::Pipeline
Defined in:
lib/brute/turn/pipeline.rb

Instance Method Summary collapse

Instance Method Details

#runObject



21
# File 'lib/brute/turn/pipeline.rb', line 21

def run(...) = tap { super }

#useObject

Enables the following syntax:

Brute.agent
.use(UltraSecurity)
.use(MaxProfit)
.use(DontTellMom)
.run -> (env) {
  RubyLLM.chat.ask("How to make money?")
}


20
# File 'lib/brute/turn/pipeline.rb', line 20

def use(...) = tap { super }