Class: RubyLLM::Agents::AgentOverride Private
- Inherits:
-
ActiveRecord::Base
- Object
- ActiveRecord::Base
- RubyLLM::Agents::AgentOverride
- Defined in:
- app/models/ruby_llm/agents/agent_override.rb
Overview
This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.
Stores dashboard-managed overrides for agent settings.
When an agent declares a field as ‘overridable: true` in its DSL, the dashboard can persist an override value in this table. The DSL getter merges the override on top of the code-defined default.
Each row maps one agent class name to a JSON hash of overridden fields.
Instance Method Summary collapse
-
#[](field) ⇒ Object?
private
Returns the override value for a single field, or nil.
Instance Method Details
#[](field) ⇒ Object?
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Returns the override value for a single field, or nil
33 34 35 |
# File 'app/models/ruby_llm/agents/agent_override.rb', line 33 def [](field) (settings || {})[field.to_s] end |