discourse/plugins/discourse-ai/spec/serializers
Keegan George 7d5cb8edc0
FIX: Include credits in serializer only if credit system enabled (#35903)
## 🔍 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`.
2025-11-07 15:58:40 +08:00
..
ai_chat_channel_serializer_spec.rb DEV: Update rubocop-discourse to 3.13 and autofix issues (#35073) 2025-10-06 16:11:01 +02:00
ai_features_persona_serializer_spec.rb DEV: Update rubocop-discourse to 3.13 and autofix issues (#35073) 2025-10-06 16:11:01 +02:00
llm_model_serializer_spec.rb FIX: Include credits in serializer only if credit system enabled (#35903) 2025-11-07 15:58:40 +08:00
topic_view_serializer_spec.rb