Class: Omnibot::Config

Inherits:
Object
  • Object
show all
Defined in:
lib/omnibot/config.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfig

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_modelObject

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_errorObject

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