mirror of
https://github.com/TauricResearch/TradingAgents.git
synced 2026-09-27 06:56:39 +03:00
- --ticker, --date and --analysts answer their steps, checked as the prompts check them; --save/--no-save and --show/--no-show answer the questions after the run - with no terminal, the run stops before it starts and names every flag or TRADINGAGENTS_* variable still needed; a missing API key and an announcement no longer wait for input - README shows an unattended run
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
import getpass
|
||||
import sys
|
||||
|
||||
import requests
|
||||
from rich.console import Console
|
||||
@@ -46,7 +47,7 @@ def display_announcements(console: Console, data: dict) -> None:
|
||||
)
|
||||
console.print(panel)
|
||||
|
||||
if require_attention:
|
||||
if require_attention and sys.stdin.isatty():
|
||||
getpass.getpass("Press Enter to continue...")
|
||||
else:
|
||||
console.print()
|
||||
|
||||
Reference in New Issue
Block a user