mirror of
https://ghfast.top/https://github.com/discourse/discourse-ai.git
synced 2026-07-15 11:27:11 +08: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.
5 lines
121 B
Ruby
5 lines
121 B
Ruby
# frozen_string_literal: true
|
|
|
|
class BasicLlmModelSerializer < ApplicationSerializer
|
|
attributes :id, :display_name
|
|
end
|