mirror of
https://github.com/discourse/discourse-ai.git
synced 2025-03-08 18:29:32 +00:00
10 lines
231 B
Ruby
10 lines
231 B
Ruby
|
# frozen_string_literal: true
|
||
|
|
||
|
class LlmQuotaSerializer < ApplicationSerializer
|
||
|
attributes :id, :group_id, :llm_model_id, :max_tokens, :max_usages, :duration_seconds, :group_name
|
||
|
|
||
|
def group_name
|
||
|
object.group.name
|
||
|
end
|
||
|
end
|