diff --git a/agentops/client.py b/agentops/client.py index 2aa90e00..8ff82fc8 100644 --- a/agentops/client.py +++ b/agentops/client.py @@ -103,7 +103,9 @@ def add_tags(self, tags: List[str]): tags (List[str]): The list of tags to append. """ if self._tags is not None: - self._tags.extend(tags) + for tag in tags: + if tag not in self._tags: + self._tags.append(tag) else: self._tags = tags