Class: RubyLLM::Monitoring::EventsController

Inherits:
ApplicationController show all
Defined in:
app/controllers/ruby_llm/monitoring/events_controller.rb

Instance Method Summary collapse

Instance Method Details

#indexObject



6
7
8
# File 'app/controllers/ruby_llm/monitoring/events_controller.rb', line 6

def index
  @events = Page.new Event.where(**@filters).order(created_at: :desc), page: params[:page].to_i
end

#showObject



10
11
# File 'app/controllers/ruby_llm/monitoring/events_controller.rb', line 10

def show
end