Class: LlmOrchestrator::Configuration
- Inherits:
-
Object
- Object
- LlmOrchestrator::Configuration
- Defined in:
- lib/llm_orchestrator.rb
Overview
Configuration class for LlmOrchestrator Manages global settings like API keys and default LLM provider
Instance Attribute Summary collapse
-
#default_llm_provider ⇒ Object
Returns the value of attribute default_llm_provider.
Instance Method Summary collapse
- #claude ⇒ Object
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
- #openai ⇒ Object
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
28 29 30 31 32 |
# File 'lib/llm_orchestrator.rb', line 28 def initialize @default_llm_provider = :openai @openai = OpenAIConfig.new @claude = ClaudeConfig.new end |
Instance Attribute Details
#default_llm_provider ⇒ Object
Returns the value of attribute default_llm_provider.
26 27 28 |
# File 'lib/llm_orchestrator.rb', line 26 def default_llm_provider @default_llm_provider end |
Instance Method Details
#claude ⇒ Object
38 39 40 |
# File 'lib/llm_orchestrator.rb', line 38 def claude @claude ||= ClaudeConfig.new end |
#openai ⇒ Object
34 35 36 |
# File 'lib/llm_orchestrator.rb', line 34 def openai @openai ||= OpenAIConfig.new end |