Module: RubyLLM::Agents::Execution::Scopes

Extended by:
ActiveSupport::Concern
Included in:
RubyLLM::Agents::Execution
Defined in:
app/models/ruby_llm/agents/execution/scopes.rb

Overview

Query scopes for filtering and aggregating executions

All scopes are chainable and return ActiveRecord::Relation objects.

Examples:

Chaining scopes

Execution.by_agent("SearchAgent").today.successful
Execution.expensive(2.00).slow(10_000)

See Also: