tiantian-paris commited on
Commit
21d1d45
·
1 Parent(s): 0177ce4
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -59,7 +59,7 @@ def send_message_tool(query: str) -> str:
59
  """
60
  try:
61
  # Create the email message
62
- print("sending message")
63
  proxy_client = TwilioHttpClient()
64
  proxy_client.session.proxies = {'https': os.environ['https_proxy']}
65
  client = Client(account_sid, auth_token)
@@ -145,7 +145,7 @@ def send_message(user_input):
145
  client = Client(account_sid, auth_token)
146
  message = client.messages.create(
147
  from_='whatsapp:+14155238886',
148
- body=user_input,
149
  to=f'whatsapp:{PHONE}'
150
  )
151
 
 
59
  """
60
  try:
61
  # Create the email message
62
+ print(f"sending message {query}")
63
  proxy_client = TwilioHttpClient()
64
  proxy_client.session.proxies = {'https': os.environ['https_proxy']}
65
  client = Client(account_sid, auth_token)
 
145
  client = Client(account_sid, auth_token)
146
  message = client.messages.create(
147
  from_='whatsapp:+14155238886',
148
+ body=f"hello you got a message from chatbot :{user_input}",
149
  to=f'whatsapp:{PHONE}'
150
  )
151