Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -210,6 +210,7 @@ def start_conversation_monitor(client, index, embed_model, text_chunks):
|
|
210 |
def poll_convo(convo_sid):
|
211 |
while True:
|
212 |
latest_msg = fetch_latest_incoming_message(client, convo_sid)
|
|
|
213 |
if latest_msg:
|
214 |
msg_time = latest_msg["timestamp"]
|
215 |
if convo_sid not in last_processed_timestamp or msg_time > last_processed_timestamp[convo_sid]:
|
|
|
210 |
def poll_convo(convo_sid):
|
211 |
while True:
|
212 |
latest_msg = fetch_latest_incoming_message(client, convo_sid)
|
213 |
+
print(f"❌ Twilio SID: {convo_sid}")
|
214 |
if latest_msg:
|
215 |
msg_time = latest_msg["timestamp"]
|
216 |
if convo_sid not in last_processed_timestamp or msg_time > last_processed_timestamp[convo_sid]:
|