From 37efb69283496225244390872d220a6003aea19d Mon Sep 17 00:00:00 2001 From: jad2121 Date: Tue, 5 Mar 2024 05:42:02 -0500 Subject: [PATCH] just a little faster now --- installer/client/cli/fabric.py | 6 +++--- installer/client/cli/utils.py | 2 -- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/installer/client/cli/fabric.py b/installer/client/cli/fabric.py index fd8b138..34c85dd 100755 --- a/installer/client/cli/fabric.py +++ b/installer/client/cli/fabric.py @@ -1,7 +1,6 @@ -from .utils import Standalone, Update, Setup, Alias, AgentSetup +from .utils import Standalone, Update, Setup, Alias import argparse import sys -import time import os @@ -74,12 +73,13 @@ def main(): sys.exit() if args.agents: # Handle the agents logic - from .agents.trip_planner.main import planner_cli if args.agents == 'trip_planner': + from .agents.trip_planner.main import planner_cli tripcrew = planner_cli() tripcrew.ask() sys.exit() elif args.agents == 'ApiKeys': + from .utils import AgentSetup AgentSetup().run() sys.exit() if args.update: diff --git a/installer/client/cli/utils.py b/installer/client/cli/utils.py index d8cbbb2..6d806a6 100644 --- a/installer/client/cli/utils.py +++ b/installer/client/cli/utils.py @@ -5,8 +5,6 @@ import pyperclip import sys import platform from dotenv import load_dotenv -from requests.exceptions import HTTPError -from tqdm import tqdm import zipfile import tempfile import shutil