kenken999 commited on
Commit
892100a
Β·
1 Parent(s): 76aad3b
Files changed (1) hide show
  1. routers/webhook.py +2 -2
routers/webhook.py CHANGED
@@ -160,8 +160,8 @@ async def webhook(request: Request):
160
  #test_prompt
161
  res = test_prompt("θΏ”δΏ‘γ―εΏ…γšζ—₯本θͺžγ§γ—て下さい \r\n"+prompt_res,text)
162
 
163
- #if DEBUG==1:
164
- # thread_name = send_google_chat_card_thread(webhook_url, "γƒ—γƒ­γƒ³γƒ—γƒˆγƒ†γ‚Ήγƒˆ "+first_line, str(res), link_text, link_url,thread_name)
165
 
166
  #thread_name = send_google_chat_card_thread(webhook_url, title, subtitle, link_text, link_url,thread_name)
167
  now = datetime.now()
 
160
  #test_prompt
161
  res = test_prompt("θΏ”δΏ‘γ―εΏ…γšζ—₯本θͺžγ§γ—て下さい \r\n"+prompt_res,text)
162
 
163
+ if DEBUG==1:
164
+ thread_name = send_google_chat_card_thread(webhook_url, "γƒ—γƒ­γƒ³γƒ—γƒˆγƒ†γ‚Ήγƒˆ "+first_line, str(res), link_text, link_url,thread_name)
165
 
166
  #thread_name = send_google_chat_card_thread(webhook_url, title, subtitle, link_text, link_url,thread_name)
167
  now = datetime.now()