Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
debug conversation history compaction
Browse files- app/main.py +2 -0
app/main.py
CHANGED
|
@@ -69,6 +69,8 @@ async def chatui_adapter(data):
|
|
| 69 |
"""Text-only adapter for ChatUI"""
|
| 70 |
try:
|
| 71 |
text = data.text if hasattr(data, 'text') else data.get('text', '')
|
|
|
|
|
|
|
| 72 |
|
| 73 |
full_response = ""
|
| 74 |
sources_collected = None
|
|
|
|
| 69 |
"""Text-only adapter for ChatUI"""
|
| 70 |
try:
|
| 71 |
text = data.text if hasattr(data, 'text') else data.get('text', '')
|
| 72 |
+
|
| 73 |
+
logger.info(f"Processing query: {text}")
|
| 74 |
|
| 75 |
full_response = ""
|
| 76 |
sources_collected = None
|