Skip to content

Commit

Permalink
maximum number of tags limited to 1
Browse files Browse the repository at this point in the history
  • Loading branch information
muhammad-ali-e committed Jan 23, 2025
1 parent 085a236 commit 0501c60
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion backend/tags/serializers.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,10 @@ class Meta:


class TagParamsSerializer(serializers.Serializer):
MAX_TAGS_ALLOWED = 5
# Currently limited to 1 tag per request to maintain compatibility with
# LLM Whisperer integration. Consider increasing the limit once LLM Whisperer
# supports multiple tags
MAX_TAGS_ALLOWED = 1
tags = CharField(
required=False,
allow_blank=True,
Expand Down

0 comments on commit 0501c60

Please sign in to comment.