summaryrefslogtreecommitdiff
path: root/backend/app/services
diff options
context:
space:
mode:
authorblackhao <13851610112@163.com>2025-12-11 00:52:55 -0600
committerblackhao <13851610112@163.com>2025-12-11 00:52:55 -0600
commitf37c38ce077f0d1df086c213ef1e40a0d3402445 (patch)
tree9ebfbc506bc75e4909213f2c25ee02c61952bfb0 /backend/app/services
parente70c89790517a57b5a5819806e112fd0efaeadb8 (diff)
add some log
Diffstat (limited to 'backend/app/services')
-rw-r--r--backend/app/services/llm.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/backend/app/services/llm.py b/backend/app/services/llm.py
index 6f79d35..660a69d 100644
--- a/backend/app/services/llm.py
+++ b/backend/app/services/llm.py
@@ -169,7 +169,9 @@ async def stream_openai(
if c_type == 'output_text':
text_val = getattr(c, 'text', None)
if text_val:
+ print(f"[responses debug] YIELDING text: {text_val[:50]}...")
yield text_val
+ print(f"[responses debug] YIELDED successfully")
found_content = True
if not found_content: