Update app.py
Browse files
app.py
CHANGED
|
@@ -150,7 +150,9 @@ Please provide a direct, factual answer to this question. Think step by step if
|
|
| 150 |
|
| 151 |
Response:"""
|
| 152 |
|
| 153 |
-
logging.info(f"Sending prompt to model (first
|
|
|
|
|
|
|
| 154 |
|
| 155 |
# Simplified API call with better error handling
|
| 156 |
try:
|
|
|
|
| 150 |
|
| 151 |
Response:"""
|
| 152 |
|
| 153 |
+
logging.info(f"Sending prompt to model (first 200 chars): {prompt[:200]}...")
|
| 154 |
+
logging.info(f"Full question length: {len(question)} characters")
|
| 155 |
+
logging.info(f"Full prompt length: {len(prompt)} characters")
|
| 156 |
|
| 157 |
# Simplified API call with better error handling
|
| 158 |
try:
|