discourse-ai/app/serializers/llm_model_serializer.rb

8 lines
180 B
Ruby

# frozen_string_literal: true
class LlmModelSerializer < ApplicationSerializer
root "llm"
attributes :id, :display_name, :name, :provider, :max_prompt_tokens, :tokenizer
end