mirror of
https://gh.wpcy.net/https://github.com/discourse/discourse.git
synced 2026-05-12 20:34:01 +08:00
## 🔍 Overview
The `LlmModel` serializer was including the credit allocation related
code on LlmModels without credit systems enabled. This was causing
errors. This update ensures that the serialized data is only included
when the credit system is enabled on an `LlmModel`.
|
||
|---|---|---|
| .. | ||
| ai_chat_channel_serializer_spec.rb | ||
| ai_features_persona_serializer_spec.rb | ||
| llm_model_serializer_spec.rb | ||
| topic_view_serializer_spec.rb | ||