Class: FlowEngine::LLM::Adapters::OpenAIAdapter

Inherits:
FlowEngine::LLM::Adapter show all
Defined in:
lib/flowengine/llm/adapters/openai_adapter.rb

Constant Summary

Constants inherited from FlowEngine::LLM::Adapter

FlowEngine::LLM::Adapter::CONFIGURE_MUTEX

Instance Attribute Summary

Attributes inherited from FlowEngine::LLM::Adapter

#api_key, #model, #qualifier, #vendor

Class Method Summary collapse

Methods inherited from FlowEngine::LLM::Adapter

#chat, #initialize, #inspect, provider

Constructor Details

This class inherits a constructor from FlowEngine::LLM::Adapter

Class Method Details

.api_key_var_name ⇒ Object



7
8
9
# File 'lib/flowengine/llm/adapters/openai_adapter.rb', line 7

def self.api_key_var_name
  "OPENAI_API_KEY"
end

.default_model ⇒ Object



11
12
13
# File 'lib/flowengine/llm/adapters/openai_adapter.rb', line 11

def self.default_model
  "gpt-5-mini"
end