discourse-ai/app/serializers/llm_model_serializer.rb

8 lines
196 B
Ruby

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