Class: OmniAgent::Configuration

Inherits:
Object
  • Object
show all
Defined in:
lib/omni_agent/configuration.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfiguration

Returns a new instance of Configuration.



5
6
7
8
9
10
11
# File 'lib/omni_agent/configuration.rb', line 5

def initialize
  @default_provider = :openai
  @default_model = "gpt-4o-mini"
  @max_retries = 3
  @retry_base_delay = 0.5
  @max_tool_iterations = 10
end

Instance Attribute Details

#default_modelObject

Returns the value of attribute default_model.



3
4
5
# File 'lib/omni_agent/configuration.rb', line 3

def default_model
  @default_model
end

#default_providerObject

Returns the value of attribute default_provider.



3
4
5
# File 'lib/omni_agent/configuration.rb', line 3

def default_provider
  @default_provider
end

#max_retriesObject

Returns the value of attribute max_retries.



3
4
5
# File 'lib/omni_agent/configuration.rb', line 3

def max_retries
  @max_retries
end

#max_tool_iterationsObject

Returns the value of attribute max_tool_iterations.



3
4
5
# File 'lib/omni_agent/configuration.rb', line 3

def max_tool_iterations
  @max_tool_iterations
end

#retry_base_delayObject

Returns the value of attribute retry_base_delay.



3
4
5
# File 'lib/omni_agent/configuration.rb', line 3

def retry_base_delay
  @retry_base_delay
end