Class: Ask::Agent::Configuration
- Inherits:
-
Object
- Object
- Ask::Agent::Configuration
- Defined in:
- lib/ask/agent/configuration.rb
Instance Attribute Summary collapse
-
#compactor_enabled ⇒ Object
Returns the value of attribute compactor_enabled.
-
#compactor_threshold ⇒ Object
Returns the value of attribute compactor_threshold.
-
#default_max_turns ⇒ Object
Returns the value of attribute default_max_turns.
-
#default_model ⇒ Object
Returns the value of attribute default_model.
-
#max_tool_retries ⇒ Object
Returns the value of attribute max_tool_retries.
-
#parallel_tool_execution ⇒ Object
Returns the value of attribute parallel_tool_execution.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
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_enabled ⇒ Object
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_threshold ⇒ Object
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_turns ⇒ Object
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_model ⇒ Object
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_retries ⇒ Object
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_execution ⇒ Object
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 |