Class: RubyAgent::Configuration
- Inherits:
-
Object
- Object
- RubyAgent::Configuration
- Defined in:
- lib/ruby_agent/configuration.rb
Instance Attribute Summary collapse
-
#anthropic_api_key ⇒ Object
Returns the value of attribute anthropic_api_key.
-
#model ⇒ Object
Returns the value of attribute model.
-
#sandbox_dir ⇒ Object
Returns the value of attribute sandbox_dir.
-
#system_prompt ⇒ Object
Returns the value of attribute system_prompt.
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 |
# File 'lib/ruby_agent/configuration.rb', line 5 def initialize @anthropic_api_key = nil # Not necessarily required with Claude SDK @system_prompt = "You are a helpful AI assistant." @model = "claude-sonnet-4-5-20250929" @sandbox_dir = "./sandbox" end |
Instance Attribute Details
#anthropic_api_key ⇒ Object
Returns the value of attribute anthropic_api_key.
3 4 5 |
# File 'lib/ruby_agent/configuration.rb', line 3 def anthropic_api_key @anthropic_api_key end |
#model ⇒ Object
Returns the value of attribute model.
3 4 5 |
# File 'lib/ruby_agent/configuration.rb', line 3 def model @model end |
#sandbox_dir ⇒ Object
Returns the value of attribute sandbox_dir.
3 4 5 |
# File 'lib/ruby_agent/configuration.rb', line 3 def sandbox_dir @sandbox_dir end |
#system_prompt ⇒ Object
Returns the value of attribute system_prompt.
3 4 5 |
# File 'lib/ruby_agent/configuration.rb', line 3 def system_prompt @system_prompt end |