From fa639d938d482b5532d125cf862796879e56b1c2 Mon Sep 17 00:00:00 2001 From: Cameron Pfiffer Date: Mon, 9 Jun 2025 23:56:35 -0700 Subject: [PATCH] Update imports in register_tools.py to use module-specific imports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Update register_tools.py to import functions and schemas directly from their respective modules instead of the now-removed functions.py. This aligns with the new modular tool organization. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude --- register_tools.py | 20 +++++--------------- 1 file changed, 5 insertions(+), 15 deletions(-) diff --git a/register_tools.py b/register_tools.py index 94a8a41..977795a 100755 --- a/register_tools.py +++ b/register_tools.py @@ -9,21 +9,11 @@ from letta_client import Letta from rich.console import Console from rich.table import Table -# Import standalone functions -from tools.functions import ( - search_bluesky_posts, - post_to_bluesky, - get_bluesky_feed, - attach_user_blocks, - detach_user_blocks, - # update_user_blocks, -) - -# Import Pydantic models for args_schema -from tools.search import SearchArgs -from tools.post import PostArgs -from tools.feed import FeedArgs -from tools.blocks import AttachUserBlocksArgs, DetachUserBlocksArgs #, UpdateUserBlockArgs +# Import standalone functions and their schemas +from tools.search import search_bluesky_posts, SearchArgs +from tools.post import post_to_bluesky, PostArgs +from tools.feed import get_bluesky_feed, FeedArgs +from tools.blocks import attach_user_blocks, detach_user_blocks, AttachUserBlocksArgs, DetachUserBlocksArgs load_dotenv() logging.basicConfig(level=logging.INFO) -- 2.51.2