File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -960,12 +960,8 @@ def main():
960960 global dbt , LLM_AVAILABLE
961961
962962 # Show banner first ONLY for CLI mode with query (not for Textual app)
963- # Banner should only show when we'll use Rich/CLI interface, not Textual interface
964- # IMPORTANT: Never show banner in --no-repl mode or when query is provided
965- if args .query and not args .no_repl and args .textual and (not sys .stdin .isatty () or not LLM_AVAILABLE ):
966- # Get LLM model info for banner
967- llm_model = os .getenv ('SQLBOT_LLM_MODEL' , 'gpt-5' ) if LLM_AVAILABLE else None
968- show_banner (is_no_repl = True , profile = args .profile , llm_model = llm_model , llm_available = LLM_AVAILABLE )
963+ # Banner logic: Don't show banner when query is provided from command line
964+ # Banner will be shown later in interactive mode startup if appropriate
969965
970966 # Initialize everything after banner display
971967 if dbt is None :
You can’t perform that action at this time.
0 commit comments