Class: Omnibot::Config
- Inherits:
-
Object
- Object
- Omnibot::Config
- Defined in:
- lib/omnibot/config.rb
Instance Attribute Summary collapse
-
#default_model ⇒ Object
Returns the value of attribute default_model.
-
#on_tool_error ⇒ Object
Returns the value of attribute on_tool_error.
Instance Method Summary collapse
-
#initialize ⇒ Config
constructor
A new instance of Config.
Constructor Details
#initialize ⇒ Config
Returns a new instance of Config.
5 6 7 8 |
# File 'lib/omnibot/config.rb', line 5 def initialize @default_model = "gpt-4o-mini" @on_tool_error = :capture end |
Instance Attribute Details
#default_model ⇒ Object
Returns the value of attribute default_model.
3 4 5 |
# File 'lib/omnibot/config.rb', line 3 def default_model @default_model end |
#on_tool_error ⇒ Object
Returns the value of attribute on_tool_error.
3 4 5 |
# File 'lib/omnibot/config.rb', line 3 def on_tool_error @on_tool_error end |