From 9cc283ac22e938cb917f5887bdd6ae2b1c6cf5be Mon Sep 17 00:00:00 2001 From: Yijia-Xiao Date: Sun, 15 Mar 2026 18:21:05 +0000 Subject: [PATCH] fix: add missing console import to cli/utils.py Seven error-handling paths used console.print() but console was never imported, causing NameError on invalid user input. --- cli/utils.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/cli/utils.py b/cli/utils.py index aa097fb5..d25c6d2b 100644 --- a/cli/utils.py +++ b/cli/utils.py @@ -1,8 +1,12 @@ import questionary from typing import List, Optional, Tuple, Dict +from rich.console import Console + from cli.models import AnalystType +console = Console() + ANALYST_ORDER = [ ("Market Analyst", AnalystType.MARKET), ("Social Media Analyst", AnalystType.SOCIAL),