Class: Roseflow::Interactions::AI::InitializeLlm

Inherits:
Object
  • Object
show all
Extended by:
Roseflow::Interaction
Defined in:
lib/roseflow/interactions/ai/initialize_llm.rb

Class Method Summary collapse

Methods included from Roseflow::Interaction

extended

Class Method Details

.actionsObject



17
18
19
20
21
22
# File 'lib/roseflow/interactions/ai/initialize_llm.rb', line 17

def self.actions
  [
    Actions::AI::ResolveProvider,
    Actions::AI::ResolveModel
  ]
end

.call(context) ⇒ Object



13
14
15
# File 'lib/roseflow/interactions/ai/initialize_llm.rb', line 13

def self.call(context)
  with(context).reduce(actions)
end