Class: RubyAgent::Configuration

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfiguration

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_keyObject

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

#modelObject

Returns the value of attribute model.



3
4
5
# File 'lib/ruby_agent/configuration.rb', line 3

def model
  @model
end

#sandbox_dirObject

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_promptObject

Returns the value of attribute system_prompt.



3
4
5
# File 'lib/ruby_agent/configuration.rb', line 3

def system_prompt
  @system_prompt
end