Module: RubyLLM::Agents::Paginatable Private

Extended by:
ActiveSupport::Concern
Included in:
AgentsController, ExecutionsController, RequestsController
Defined in:
app/controllers/concerns/ruby_llm/agents/paginatable.rb

Overview

This module is part of a private API. You should avoid using this module if possible, as it may be removed or be changed in the future.

Controller concern for pagination

Provides simple offset-based pagination with consistent return format.

Examples:

Using in a controller

result = paginate(Execution.all)
@executions = result[:records]
@pagination = result[:pagination]