Class: Ask::Agent::Configuration

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfiguration

Returns a new instance of Configuration.



9
10
11
12
13
14
15
16
# File 'lib/ask/agent/configuration.rb', line 9

def initialize
  @default_model = "gpt-4o"
  @default_max_turns = 25
  @compactor_enabled = true
  @compactor_threshold = 0.8
  @parallel_tool_execution = true
  @max_tool_retries = 3
end

Instance Attribute Details

#compactor_enabledObject

Returns the value of attribute compactor_enabled.



6
7
8
# File 'lib/ask/agent/configuration.rb', line 6

def compactor_enabled
  @compactor_enabled
end

#compactor_thresholdObject

Returns the value of attribute compactor_threshold.



6
7
8
# File 'lib/ask/agent/configuration.rb', line 6

def compactor_threshold
  @compactor_threshold
end

#default_max_turnsObject

Returns the value of attribute default_max_turns.



6
7
8
# File 'lib/ask/agent/configuration.rb', line 6

def default_max_turns
  @default_max_turns
end

#default_modelObject

Returns the value of attribute default_model.



6
7
8
# File 'lib/ask/agent/configuration.rb', line 6

def default_model
  @default_model
end

#max_tool_retriesObject

Returns the value of attribute max_tool_retries.



6
7
8
# File 'lib/ask/agent/configuration.rb', line 6

def max_tool_retries
  @max_tool_retries
end

#parallel_tool_executionObject

Returns the value of attribute parallel_tool_execution.



6
7
8
# File 'lib/ask/agent/configuration.rb', line 6

def parallel_tool_execution
  @parallel_tool_execution
end