Spaces:
Sleeping
Sleeping
Commit ·
e634cf5
1
Parent(s): 9f3e583
debug 4
Browse files- Retrieve.py +5 -3
Retrieve.py
CHANGED
|
@@ -211,13 +211,15 @@ def get_story_from_supabase(
|
|
| 211 |
|
| 212 |
Returns None if no suitable story.
|
| 213 |
"""
|
| 214 |
-
print(f"[DEBUG] SOCRATIC_STORY = in the function")
|
| 215 |
if conversation_type not in PERSONAL_BUCKET:
|
|
|
|
| 216 |
return None
|
| 217 |
-
|
| 218 |
if not topic_for_story or topic_for_story == "none":
|
|
|
|
| 219 |
return None
|
| 220 |
-
|
| 221 |
|
| 222 |
fn = "pick_and_log_story_with_history_rpc"
|
| 223 |
payload = {
|
|
|
|
| 211 |
|
| 212 |
Returns None if no suitable story.
|
| 213 |
"""
|
| 214 |
+
#print(f"[DEBUG] SOCRATIC_STORY = in the function")
|
| 215 |
if conversation_type not in PERSONAL_BUCKET:
|
| 216 |
+
#print(f"[DEBUG] SOCRATIC_STORY =NOT IN PERSONAL_BUCKET")
|
| 217 |
return None
|
| 218 |
+
|
| 219 |
if not topic_for_story or topic_for_story == "none":
|
| 220 |
+
#print(f"[DEBUG] SOCRATIC_STORY = topic_for_story = none")
|
| 221 |
return None
|
| 222 |
+
|
| 223 |
|
| 224 |
fn = "pick_and_log_story_with_history_rpc"
|
| 225 |
payload = {
|