Class: OmniAgent::Configuration
- Inherits:
-
Object
- Object
- OmniAgent::Configuration
- Defined in:
- lib/omni_agent/configuration.rb
Instance Attribute Summary collapse
-
#default_model ⇒ Object
Returns the value of attribute default_model.
-
#default_provider ⇒ Object
Returns the value of attribute default_provider.
-
#max_retries ⇒ Object
Returns the value of attribute max_retries.
-
#max_tool_iterations ⇒ Object
Returns the value of attribute max_tool_iterations.
-
#retry_base_delay ⇒ Object
Returns the value of attribute retry_base_delay.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
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_model ⇒ Object
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_provider ⇒ Object
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_retries ⇒ Object
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_iterations ⇒ Object
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_delay ⇒ Object
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 |