Module: LlmCostTracker::DashboardFilterOptionsHelper

Included in:
ApplicationHelper
Defined in:
app/helpers/llm_cost_tracker/dashboard_filter_options_helper.rb

Constant Summary collapse

MAX_FILTER_OPTIONS =
100

Instance Method Summary collapse

Instance Method Details

#model_filter_options(filter_params: params) ⇒ Object



11
12
13
# File 'app/helpers/llm_cost_tracker/dashboard_filter_options_helper.rb', line 11

def model_filter_options(filter_params: params)
  filter_options_for(:model, filter_params: filter_params)
end

#provider_filter_options(filter_params: params) ⇒ Object



7
8
9
# File 'app/helpers/llm_cost_tracker/dashboard_filter_options_helper.rb', line 7

def provider_filter_options(filter_params: params)
  filter_options_for(:provider, filter_params: filter_params)
end