Module: LlmCostTracker::DashboardFilterOptionsHelper

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

Instance Method Summary collapse

Instance Method Details

#model_filter_options(filter_params: params) ⇒ Object



9
10
11
# File 'app/helpers/llm_cost_tracker/dashboard_filter_options_helper.rb', line 9

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

#provider_filter_options(filter_params: params) ⇒ Object



5
6
7
# File 'app/helpers/llm_cost_tracker/dashboard_filter_options_helper.rb', line 5

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