Skip to content

Commit 0932a76

Browse files
committed
debug: add trace to execute_llm_func call
1 parent d595fbd commit 0932a76

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

sqlbot/interfaces/unified_display.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,12 @@ def execute_query_with_unified_display(
105105
time.sleep(0.1)
106106
try:
107107
# Execute LLM query while showing thinking indicator
108+
print(f"DEBUG unified_display: About to call execute_llm_func with query: {query[:50]}...")
109+
import sys
110+
sys.stdout.flush()
108111
result = execute_llm_func(query)
112+
print(f"DEBUG unified_display: execute_llm_func returned!")
113+
sys.stdout.flush()
109114

110115
# Replace thinking message with actual result in memory
111116
if result:

0 commit comments

Comments
 (0)