zenaight commited on
Commit
c452b29
·
1 Parent(s): 383dff9

Add debug print statement for property listing URLs in chat_with_session_memory

Browse files

- Introduced a print statement to log the property listing URLs being processed, enhancing traceability during the property listing generation.
- This addition aims to facilitate debugging and provide better insights into the state of the application, following previous enhancements in logging for improved user experience.

Files changed (1) hide show
  1. ai_chat.py +1 -0
ai_chat.py CHANGED
@@ -53,6 +53,7 @@ def chat_with_session_memory(state):
53
  f"{p.get('size_sqm')} sqm, {p.get('price')} ({p.get('price_type')})\n"
54
  )
55
  url = p.get("listing_url")
 
56
  if url:
57
  response_text += f" Link: {url}\n"
58
  # b) Suggest extras based on available fields
 
53
  f"{p.get('size_sqm')} sqm, {p.get('price')} ({p.get('price_type')})\n"
54
  )
55
  url = p.get("listing_url")
56
+ print(f"!!!!!URL: {url}")
57
  if url:
58
  response_text += f" Link: {url}\n"
59
  # b) Suggest extras based on available fields