mirror of
https://github.com/discourse/discourse-ai.git
synced 2025-06-30 03:22:17 +00:00
Additional changes: Adds a "#features" method in AiPersona to find which features are using that persona. Serializes a basic version of a LlmModel in the persona's "#default_llm" serializer attribute.
6 lines
121 B
Ruby
6 lines
121 B
Ruby
# frozen_string_literal: true
|
|
|
|
class BasicLlmModelSerializer < ApplicationSerializer
|
|
attributes :id, :display_name
|
|
end
|