a digital person for bluesky

Deduplicate handles in attach_user_blocks to reduce API calls

Add handle deduplication at the start of attach_user_blocks() to prevent
redundant API calls when the same user appears multiple times in a thread.
This helps reduce the spike in block list API calls.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>

Changed files
+2
tools
+2
tools/blocks.py
··· 48 from letta_client import Letta 49 50 logger = logging.getLogger(__name__) 51 52 try: 53 client = Letta(token=os.environ["LETTA_API_KEY"])
··· 48 from letta_client import Letta 49 50 logger = logging.getLogger(__name__) 51 + 52 + handles = list(set(handles)) 53 54 try: 55 client = Letta(token=os.environ["LETTA_API_KEY"])