Update main.py

This commit is contained in:
Joseph O'Brien 2025-12-02 20:40:26 -05:00
parent 3f6b1e9f39
commit a4916039a1
1 changed files with 2 additions and 2 deletions

View File

@ -195,7 +195,7 @@ EVENT_OPTIONS = [
]
def create_question_box(title: str, prompt: str, default: str = None) -> Panel:
def create_question_box(title: str, prompt: str, default: Optional[str] = None) -> Panel:
box_content = f"[bold]{title}[/bold]\n"
box_content += f"[dim]{prompt}[/dim]"
if default:
@ -638,7 +638,7 @@ def run_analysis_for_ticker(ticker: str, config: dict):
layout = create_layout()
with Live(layout, refresh_per_second=4) as live:
with Live(layout, refresh_per_second=4):
update_display(layout)
message_buffer.add_message("System", f"Selected ticker: {ticker}")